Kovah/LinkAce

Add support for password files

Open

#199 建立於 2020年12月31日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)PHP (1,761 star) (111 fork)batch import
EnhancementHelp wanted

描述

Is your feature request related to a problem? Please describe. Specifying passwords in environment variables is not always the best available approach. Docker swarm, for example, has support for the concepts of secrets. These are in-memory files mounted in containers under /var/run. To support the use of these secrets, an app must support reading passwords from files.

Describe the solution you'd like Add support for DB_PASSWORD_FILE and DB_REDIS_PASSWORD_FILE environment variables that, if set, will read the passwords from the specified path instead of the regular environment variables.

Describe alternatives you've considered Using the .env file, but it doesn't solve the issue as Docker's secret management can't be used with it.

Additional context None.

貢獻者指南