From e9a602cc78e9c8b7b314ac6abb81896d64179207 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Tue, 22 Aug 2023 19:08:56 +0200 Subject: [PATCH] Add Caddy labels --- compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compose.yml b/compose.yml index f23e1e9..5c12685 100644 --- a/compose.yml +++ b/compose.yml @@ -33,6 +33,9 @@ services: - "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect" - "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true" - "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" + - "caddy=${DOMAIN}" + - "caddy.reverse_proxy={{upstreams 80}}" + - "caddy.tls.on_demand=" healthcheck: test: ["CMD-SHELL", 'curl -s -N curl -Ns localhost/status.php | grep "installed\":true"'] interval: 30s