feat: network configure

This commit is contained in:
2025-12-18 22:32:31 +00:00
parent 7e0cb3d0e2
commit fbbedaae3c
10 changed files with 88 additions and 23 deletions

View File

@@ -18,7 +18,14 @@ services:
traefik.http.routers.uptime-kuma.rule: "Host(`status.${DOMAIN}`)"
traefik.http.routers.uptime-kuma.entrypoints: "https"
traefik.http.routers.uptime-kuma.tls.certresolver: "cloudflare"
traefik.http.services.uptime-kuma.loadbalancer.server.url: "http://${HOST_IP}:3222"
ports:
traefik.http.routers.uptime-kuma.service: "uptime-kuma"
traefik.http.services.uptime-kuma.loadbalancer.server.port: "3001"
expose:
# <Host Port>:<Container Port>
- "3222:3001"
- "3001"
networks:
- traefik_public
networks:
traefik_public:
external: true