remove auto kuma, move uptime kuma
This commit is contained in:
17
compose.uptime.yaml
Normal file
17
compose.uptime.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user