monicahq/monica

Support Docker secrets

オープン

#5,809 opened on 2021/12/28

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)PHP (2,464 件のフォーク)batch import
dockerhelp wanted

Repository metrics

Stars
 (24,641 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド