LinkAce
LinkAce copied to clipboard
Add support for password files
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.
Hi, any further thoughts on adding support for file based secrets?
This feature must be contributed by the community as I don't need file-based secrets/passwords.