This commit is contained in:
2025-12-20 15:29:44 +01:00
parent a7542bf16f
commit 6666fe619c

View File

@@ -1,5 +1,5 @@
services:
uptime-kuma:
app:
image: ${DOCKER_REGISTRY:-}louislam/uptime-kuma:nightly2
ports:
- target: 3001
@@ -9,6 +9,16 @@ services:
volumes:
- data:/app/data
- /var/run/docker.sock:/var/run/docker.sock
logging:
driver: loki
options:
loki-url: http://192.168.77.101:3100/loki/api/v1/push
loki-relabel-config: |
- action: labelmap
regex: swarm_stack
replacement: namespace
- action: labelmap
regex: swarm_(service)
deploy:
labels:
com.centurylinklabs.watchtower.enable: 'true'