diff --git a/__swarm/uptime-kuma/uptime-kuma-swarm.yml b/__swarm/uptime-kuma/uptime-kuma-swarm.yml new file mode 100644 index 0000000..fc01e8d --- /dev/null +++ b/__swarm/uptime-kuma/uptime-kuma-swarm.yml @@ -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: