-
-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow Docker Secrets (eg; for db password) #2129
Comments
simple-login/simplelogin-postfix-docker#9 similar as the simplelogin-postfix-docker did already |
Even without secrets (which is swarm only and IMHO extremely unusable if you rotate secrets) and docker-compose.yml: services:
test:
image: busybox:latest
env_file:
- .env .env:
docker compose config:
The |
Prerequisites
Bug report
the database password is visible in config > .env file
in the DB_URI -variable
Expected behavior
A safe method would be to use different variables (db_username, db_password, db_name) with support Docker Secrets
same for other secrets that can be used in the config
also makes a cleaner conmpose-file where the password can be re-used in the postgres and simplelogin config
The text was updated successfully, but these errors were encountered: