From ed032d0f52b92f84097a09c65a7c74e0a63c4549 Mon Sep 17 00:00:00 2001 From: brooke Date: Tue, 7 Jan 2025 20:52:47 -0600 Subject: [PATCH] update labels for wg-ui container --- compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compose.yml b/compose.yml index dd9087b..b8a79c7 100644 --- a/compose.yml +++ b/compose.yml @@ -37,10 +37,14 @@ services: - wguiconfig:/etc/wireguard labels: - "traefik.enable=true" + - "traefik.docker.network=proxy" - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80" - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" + - "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}" - "coop-cloud.${STACK_NAME}.version=0.6.2" healthcheck: test: ["CMD", "curl", "-f", "http://localhost"]