From 5b05207985c3f52a76963c398672352ea57fdc35 Mon Sep 17 00:00:00 2001 From: mr-forust Date: Tue, 18 Nov 2025 02:30:42 +0100 Subject: [PATCH] refactor: Move uptime-kuma traefik labels to dynamic.yaml --- traefik/dynamic/dynamic.yml | 25 ++++++++++++------------- uptime-kuma/compose.yaml | 8 ++++---- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/traefik/dynamic/dynamic.yml b/traefik/dynamic/dynamic.yml index 4830bb3..233316e 100644 --- a/traefik/dynamic/dynamic.yml +++ b/traefik/dynamic/dynamic.yml @@ -42,15 +42,13 @@ http: - security-headers tls: {} - # # Uptime Kuma - # uptime-kuma: - # rule: "Host(`uptime-kuma.forust.xyz`)" - # entryPoints: - # - websecure - # service: uptime-kuma - # # middlewares: - # # - security-headers - # tls: {} + # Uptime Kuma + uptime-kuma: + rule: "Host(`uptime.forust.xyz`)" + entryPoints: + - websecure + service: uptime-kuma + tls: {} # AdGuard Home (public (account required)) adguard: @@ -153,10 +151,11 @@ http: servers: - url: "http://nextcloud-aio-apache:11000" - # # Uptime Kuma - # uptime-kuma: - # loadBalancer: - # servers: "http://uptime-kuma:3001" + # Uptime Kuma + uptime-kuma: + loadBalancer: + servers: + - url: "http://uptime-kuma:3001" # Dockmon dockmon: diff --git a/uptime-kuma/compose.yaml b/uptime-kuma/compose.yaml index 39f4db6..b91586f 100644 --- a/uptime-kuma/compose.yaml +++ b/uptime-kuma/compose.yaml @@ -10,11 +10,11 @@ services: - "3001:3001" labels: - "traefik.enable=true" - - "traefik.http.routers.uptime-kuma.rule=Host(`uptime-kuma.forust.xyz`)" - - "traefik.http.routers.uptime-kuma.entrypoints=websecure" - - "traefik.http.routers.uptime-kuma.tls=true" + # - "traefik.http.routers.uptime-kuma.rule=Host(`uptime-kuma.forust.xyz`)" + # - "traefik.http.routers.uptime-kuma.entrypoints=websecure" + # - "traefik.http.routers.uptime-kuma.tls=true" # - "traefik.http.routers.uptime-kuma.tls.certresolver=myresolver" - - "traefik.http.services.uptime-kuma.loadBalancer.server.port=3001" + # - "traefik.http.services.uptime-kuma.loadBalancer.server.port=3001" networks: - traefik-proxy networks: