The original post: /r/selfhosted by /u/DataGhost404 on 2025-02-22 13:46:59.
Hi all!
I am working on improving my homelab (still learning a lot) and I am in need of some help regarding how to allow services to retrieve username and password from each other (or similar).
I have 2 computers in which different services are running via Docker containers. One server contains storage related services and other contains computing related stuff.
Now, I would like to manage the access between the services. Example: A script running in the computing computer should be able to save the data to a database running in the storage computer. Of course, this requires the script knowing the username and password so it can establish the connection (I don’t want to hardcode it, as I will be running many custom scripts).
Do you know of a way to achieve this (without deploying the services via K8S)?
P.S: I thought about creating my own solution, but I think there should be better ways to achieve this, or at least existing services that already exists.