monicahq/monica

Support Docker secrets

Open

#5,809 创建于 2021年12月28日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)PHP (2,464 fork)batch import
dockerhelp wanted

仓库指标

Star
 (24,641 star)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南