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

Hide sensitive data in docker compose #463

Open
felipeleon73 opened this issue Mar 20, 2023 · 0 comments
Open

Hide sensitive data in docker compose #463

felipeleon73 opened this issue Mar 20, 2023 · 0 comments

Comments

@felipeleon73
Copy link

Actual Result / Problem

There seems to be no way to hide sensitive data in docker-compose using mysql as storage. In particular, in the connection string the password appears unencrypted.

Expected Result / Suggestion

It would be useful to be able to use a file from which to read the mysql password and put it in an environment variable (for example SSHPORTAL_DATABASE_PASSWORD_FILE), or at least all the connection string (SSHPORTAL_DATABASE_URL_FILE), thus making it possible to use docker swarm secrets.

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