Is there anyway to use Docker Secrets to provide values for values such as DRONE_SECRET
and DRONE_GITHUB_SECRET
ATM?
For others that have a similar question, I’ve fixed this by pushing my .env
files into Docker secrets and then mounting them at the root of the container.
I’d tried this before but wasn’t aware I could change the mount point within the container, the documentation doesn’t make it obvious this is possible.
Some links for the interested:
Overview | Docker Docs
Clarify custom path for secret version support · Issue #3923 · docker/docs · GitHub
Current answer seems to be:
http://discuss.harness.io/t/docker-stack-deploy-with-docker-secrets/5315/5?u=decentral1se