From a51027ff5014a4a609cdff3522cd1b01a5e476ea Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Mon, 1 Apr 2024 19:45:24 -0300 Subject: [PATCH] Switch to web-alt Traefik entrypoint --- compose.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/compose.yml b/compose.yml index 700ed8f..d776c18 100644 --- a/compose.yml +++ b/compose.yml @@ -19,14 +19,10 @@ services: # TCP router, handle streaming to Icecast # !! Works only with HostSNI(*) and TLS off !! - 'traefik.tcp.routers.${STACK_NAME}-tcp.rule=HostSNI(`*`)' - - 'traefik.tcp.routers.${STACK_NAME}-tcp.entrypoints=web' + - 'traefik.tcp.routers.${STACK_NAME}-tcp.entrypoints=web-alt' - 'traefik.tcp.routers.${STACK_NAME}-tcp.tls=false' - 'traefik.tcp.routers.${STACK_NAME}-tcp.service=${STACK_NAME}-tcp' - 'traefik.tcp.services.${STACK_NAME}-tcp.loadbalancer.server.port=8000' - # HTTP router, redirect to HTTPS - - "traefik.http.routers.${STACK_NAME}-insecure.rule=Host(`${DOMAIN}`)" - - 'traefik.http.routers.${STACK_NAME}-insecure.entrypoints=http' - - 'traefik.http.routers.${STACK_NAME}-insecure.middlewares=redirect-secure' # HTTPS router - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8000" - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})" @@ -37,12 +33,12 @@ services: #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true" #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" - "coop-cloud.${STACK_NAME}.version=" - # # healthcheck: - # # test: ["CMD", "curl", "-f", "http://localhost"] - # # interval: 30s - # # timeout: 10s - # # retries: 10 - # # start_period: 1m + # healthcheck: + # test: ["CMD", "curl", "-f", "http://localhost:8000"] + # interval: 30s + # timeout: 10s + # retries: 10 + # start_period: 1m networks: proxy: