fix: Uptime kuma on local traefik
This commit is contained in:
+13
-13
@@ -42,15 +42,15 @@ 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-kuma.forust.xyz`)"
|
||||
# entryPoints:
|
||||
# - websecure
|
||||
# service: uptime-kuma
|
||||
# # middlewares:
|
||||
# # - security-headers
|
||||
# tls: {}
|
||||
|
||||
# AdGuard Home (public (account required))
|
||||
adguard:
|
||||
@@ -153,10 +153,10 @@ http:
|
||||
servers:
|
||||
- url: "http://nextcloud-aio-apache:11000"
|
||||
|
||||
# Uptime Kuma
|
||||
uptime-kuma:
|
||||
loadBalancer:
|
||||
servers: "http://uptime-kuma:3001"
|
||||
# # Uptime Kuma
|
||||
# uptime-kuma:
|
||||
# loadBalancer:
|
||||
# servers: "http://uptime-kuma:3001"
|
||||
|
||||
# Dockmon
|
||||
dockmon:
|
||||
|
||||
@@ -2,15 +2,19 @@ services:
|
||||
uptime-kuma:
|
||||
image: louislam/uptime-kuma:2
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
container_name: uptime-kuma
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
ports:
|
||||
# <Host Port>:<Container Port>
|
||||
- "3001:3001"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=traefik-proxy"
|
||||
- "traefik.http.routers.uptime-kuma.rule=Host(`uptime-kuma.gigaforust`)"
|
||||
- "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"
|
||||
networks:
|
||||
- traefik-proxy
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user