allow Docker Secrets (eg; for db password)
Slevin90 opened this issue · comments
Prerequisites
- [ OK] I have searched open and closed issues to make sure that the bug has not yet been reported.
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
simple-login/simplelogin-postfix-docker#9
similar as the simplelogin-postfix-docker did already