add main server
This commit is contained in:
parent
2f3f0b7820
commit
50124a7efa
18 changed files with 405 additions and 0 deletions
22
main-docker/uptime-kuma/compose.yaml
Normal file
22
main-docker/uptime-kuma/compose.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
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:
|
Loading…
Add table
Add a link
Reference in a new issue