monicahq/monica

Support Docker secrets

Open

#5 809 ouverte le 28 déc. 2021

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)PHP (24 641 stars) (2 464 forks)batch import
dockerhelp wanted

Description

Is your feature request related to a problem? Please describe.

Describe the solution you'd like Support docker secrets. Either by adding new environment variables such as DB_PASS_FILE which actually does a cat /run/secrets/DB_PASS_FILE inside the container - or we could have some logic that checks whether /run/secrets/DB_PASS exists and overwrites whatever is in environment variable DB_PASS.

Describe alternatives you've considered (optional) Have my secrets in the .env file

Guide contributeur