caddy-docker
caddy-docker copied to clipboard
How would you use the Lets Encrypt staging environment in a docker-compose file?
@yelvert I did it by overriding the Dockerfile's CMD
https://github.com/abiosoft/caddy-docker/blob/master/Dockerfile#L55
caddy:
image: abiosoft/caddy
command: [
"--conf", "/etc/Caddyfile",
"--log", "stdout", "--agree=true",
"-ca", "https://acme-staging-v02.api.letsencrypt.org/directory"
]