snyssen / infra-snyssen.be

Ansible and Docker based project for managing my personal infrastructure at home using IaC methodologies
MIT License
1 stars 0 forks source link

Use Docker secrets with compose #71

Open snyssen opened 1 year ago

snyssen commented 1 year ago

See -> https://docs.docker.com/engine/swarm/secrets/#use-secrets-in-compose

Right now secrets are put directly into the compose files, which is a security risk if anyone manages to access the host file system.

snyssen commented 6 months ago

Authelia seems to have a good example of secrets use, e.g. https://www.authelia.com/integration/deployment/docker/#using-secrets