feat: Support Caddy reverse proxy #60

Open
3wordchant wants to merge 1 commits from feat/3wc/caddy into main

View File

@ -29,6 +29,9 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "caddy=${DOMAIN}"
- "caddy.reverse_proxy={{upstreams 80}}"
- "caddy.tls.on_demand="
healthcheck:
test: curl -f http://${STACK_NAME}_app:8008/health || exit 1
interval: 30s