mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 10:24:53 +01:00
build
This commit is contained in:
22
__swarm/uptime-kuma/uptime-kuma-swarm.yml
Normal file
22
__swarm/uptime-kuma/uptime-kuma-swarm.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
uptime-kuma:
|
||||
image: ${DOCKER_REGISTRY:-}louislam/uptime-kuma:nightly2
|
||||
ports:
|
||||
- target: 3001
|
||||
published: 3001
|
||||
protocol: tcp
|
||||
mode: ingress
|
||||
volumes:
|
||||
- data:/app/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
deploy:
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: 'true'
|
||||
wud.watch: 'true'
|
||||
wud.watch.digest: 'true'
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
volumes:
|
||||
data:
|
||||
Reference in New Issue
Block a user