monicahq/monica

Support Docker secrets

開放

#5,809 建立於 2021年12月28日

 (3 則留言) (0 個反應) (0 位負責人)PHP (2,464 個分叉)batch import
dockerhelp wanted

倉庫指標

星標
 (24,641 顆星)
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

貢獻者指南