monicahq/monica

Support Docker secrets

Aperta

#5809 aperta il 28 dic 2021

 (3 commenti) (0 reazioni) (0 assegnatari)PHP (2464 fork)batch import
dockerhelp wanted

Metriche repository

Star
 (24.641 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor