Files
opt/compose.uptime.yaml

18 lines
420 B
YAML

services:
uptime:
image: louislam/uptime-kuma:2
container_name: uptime
restart: unless-stopped
volumes:
- /opt/uptime:/app/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "3001:3001"
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:3001 || exit 1"]
interval: 60s
timeout: 10s
retries: 3
start_period: 30s