Files
app-catalog-felhom.eu/templates/uptime-kuma/docker-compose.yml
T
admin 6ce3f65695
gates / gates (push) Successful in 1s
LIVE-TEST (controller v0.238.0 slice 4 Scenario F), REVERTED IN THE SAME SESSION: uptime-kuma 2.4.0 -> alpine:3.20
Scenario F of the guarded-update live validation, the same way the 2026-09-01 spike did it: the new
"version" is an image that starts and exits immediately, so the app never becomes healthy and must be
HELD — and then restored from its named copy. catalog_since moves with the image line; the revert
restores it.

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
2026-09-13 12:12:04 +02:00

48 lines
1.5 KiB
YAML

# Uptime Kuma - Szolgáltatás és weboldal monitoring
# Domain: ${SUBDOMAIN}.${DOMAIN}
# Database: None (file-based)
# RAM: ~50M (mem_limit: 256M) | Pi-compatible: Yes
#
# Environment variables:
# DOMAIN - Your domain (e.g., demo-felhom.eu)
services:
uptime-kuma:
image: alpine:3.20
container_name: uptime-kuma
restart: unless-stopped
environment:
- TZ=Europe/Budapest
volumes:
- uptime_kuma_data:/app/data
networks:
- traefik-public
deploy:
resources:
limits:
memory: 256M
# uptime-kuma:2 ships its healthcheck as a compiled binary at /app/extra/healthcheck (WORKDIR /app);
# the old override pointed at a v1-era /app/extra/healthcheck.mjs that does NOT exist in v2, so the
# container stayed permanently "unhealthy" → Traefik withheld the route → the URL 404'd although the
# app was running (F5). Use the correct binary and the image's own timing (180s first-boot window).
healthcheck:
test: ["CMD", "extra/healthcheck"]
interval: 30s
timeout: 30s
retries: 5
start_period: 180s
labels:
- "traefik.enable=true"
- "traefik.http.routers.uptime-kuma.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
- "traefik.http.routers.uptime-kuma.entrypoints=websecure"
- "traefik.http.routers.uptime-kuma.tls=true"
- "traefik.http.routers.uptime-kuma.tls.certresolver=letsencrypt"
- "traefik.http.services.uptime-kuma.loadbalancer.server.port=3001"
volumes:
uptime_kuma_data:
networks:
traefik-public:
external: true