services: uptime-kuma: image: louislam/uptime-kuma:1 container_name: uptime-kuma volumes: - /root/uptimekuma/cert:/app/data/docker-tls - /var/run/docker.sock:/var/run/docker.sock:ro - uptime-kuma:/app/data ports: - "3001:3001" restart: always security_opt: - no-new-privileges:true healthcheck: test: curl -f http://localhost:3001 || exit 1 interval: 30m timeout: 10s retries: 3 start_period: 1m volumes: uptime-kuma: