This repository was archived by the owner on Dec 17, 2024. It is now read-only.
Replies: 1 comment 2 replies
-
Please, check this answer. It shows how to use both env var and password file |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there,
Trying to use the metrics collector only for pushing stats to Prometheus instance. Works well via YAML files and plain password. Working in Docker Swarm environment. Now I wanted to use .pgpass to not store password in yaml.
How would I mount the file/secret into the Docker container? What would be the correct path within the container in order to be recognized by internal psql? I removed the password line from the yaml file.
My docker-compose so far
Beta Was this translation helpful? Give feedback.
All reactions