diff --git a/compose.yml b/compose.yml index a9209f6..1aef159 100644 --- a/compose.yml +++ b/compose.yml @@ -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