Currently, the docker image only supports config files or command arguments to provide credentials or email addresses. All these methods does not support centrally managing or deploy the secrets in a Docker Swarm.
Solution description
The Docker Secrets allows managing secrets in a Docker swarm. All specified secrets will be mounted at /run/secrets at runtime. During the initialization, the container reads the value from the path instead of the environment file. The secret path will be provided by the environment variable name with a _FILE suffix.
This feature requires the environment support #143 to be implemented beforehand.
Checklist
[X] I have checked for existing Github issues and there are no issues for the same feature request.
Problem description
Currently, the docker image only supports config files or command arguments to provide credentials or email addresses. All these methods does not support centrally managing or deploy the secrets in a Docker Swarm.
Solution description
The Docker Secrets allows managing secrets in a Docker swarm. All specified secrets will be mounted at
/run/secrets
at runtime. During the initialization, the container reads the value from the path instead of the environment file. The secret path will be provided by the environment variable name with a_FILE
suffix.This feature requires the environment support #143 to be implemented beforehand.
Checklist