Folder structure:
/services
/authelia
docker-compose_authelia.yml # (Includes example service with auth)
/caddy
docker-compose_caddy.yml
Dockerfile # Needed to add the CaddyDockerProxy extension
Caddyfile # Needed to contain common configuration
Before any of this, you'll need to run docker network create -d bridge caddy
to make the caddy
network that all these containers will connect to.
I also have a wildcard (*.example.com
) A record pointing at my server's IP
Thanks for these config file examples.
Would you mind explaining this line https://gist.github.com/TetraTsunami/11dcda9bbbccb56416f773ddda376b99#file-caddyfile-L11 ?
It seems different to what Authelia recommand here: https://github.com/authelia/authelia/blob/eede6108b214f6a0dc6a368e11f509a198509191/docs/content/integration/proxies/caddy.md?plain=1#L166
Thank you