docker-toran-proxy icon indicating copy to clipboard operation
docker-toran-proxy copied to clipboard

docker secrets

Open bauer01 opened this issue 7 years ago • 1 comments

Hi, I wanted to use this awesome image in my Swarm, but there is a problem with env variable TORAN_AUTH_PASSWORD. Its better approach to use docker secrets instead of typing password in yml stack file see https://docs.docker.com/engine/swarm/secrets

Maybe you can add new env variable TORAN_AUTH_PASSWORD_FILE=/run/secrets/password

Same for TORAN_TOKEN_GITHUB

Or another more systematic option is just read .env variable from PHP as described here https://github.com/drone/drone/issues/2223#issuecomment-331720044

bauer01 avatar Oct 22 '17 07:10 bauer01

Hi @bauer01,

Good idea, I will try as soon as possible

cedvan avatar Oct 22 '17 20:10 cedvan