Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support MYSQL_PASSWORD_FILE? #6

Open
matthijskooijman opened this issue Jan 14, 2021 · 0 comments
Open

Support MYSQL_PASSWORD_FILE? #6

matthijskooijman opened this issue Jan 14, 2021 · 0 comments

Comments

@matthijskooijman
Copy link

It would be nice if this container supported the env var MYSQL_PASSWORD_FILE, which would name a file from which the password would be read from. This would make it possible to use docker secrets files to move the password into the container rather than having to use (potentially easier to leak) env vars. This is the same approach taken by e.g. the mariadb container itself.

For completeness, some of the other variables could also get a _FILE equivalent (like mariadb does), but the password is the most relevant one of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant