simple-login / app

The SimpleLogin back-end and web app

Home Page:https://simplelogin.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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