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

Mysql backup - add support for Docker secrets via _FILE env vars #134

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

opichon
Copy link

@opichon opichon commented May 2, 2021

  • Install AWS CLI 2 (requires installing glibc)
  • Add support for _FILE env vars, so that sensitive values can be defined in files. This allows using Docker secrets in a Docker swarm.
  • README updated accordingly

opichon added 3 commits May 1, 2021 16:24
Mysql password can be supplied via `MYSQL_PASSWORD_FILE` which points to a file containing the Mysql password. This would typically be `/run/secrets/mysql-password`, where `mysql-passwrd` is a Docker secret containing the password.

S3 secret access key can be supplied via `S3_SECRET_ACCESS_KEY_FILE`, which points to a file containing the secret access key. This would typically be `/run/secrets/s3-secret-access-key`, where `s3-secret-access-key` is a Docker secret containing the secret access key.
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

Successfully merging this pull request may close these issues.

1 participant