Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Docker secrets compatible (blatantly stolen from mysql5.7 entrypoint.sh) #26

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

Conversation

moracabanas
Copy link

@moracabanas moracabanas commented Jan 7, 2021

Tested successfully on my local testing swarm.

you can now use secrets and avoid leaking passwords by reading ENV variables.

environment:
    - REGISTRY_PASS_FILE=/run/secrets/MYSECRET

It load secrets from  XYZ_VARIABLE_FILE which allows to use docker secrets properly. (blatantly stolen from mysql 5.7 official Dockerfile Entrypoint.)
@moracabanas moracabanas changed the title Docker secrets compatible (blatantly stolen from mqsql 5.7 entrypoint.sh) Docker secrets compatible (blatantly stolen from mysql5.7 entrypoint.sh) Jan 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant