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/dockermon/dockermon-swarm.yml
Normal file
22
__swarm/dockermon/dockermon-swarm.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
services:
|
||||||
|
docker_mon:
|
||||||
|
image: ${DOCKER_REGISTRY:-}philhawthorne/ha-dockermon:latest
|
||||||
|
ports:
|
||||||
|
- target: 8126
|
||||||
|
published: 8126
|
||||||
|
protocol: tcp
|
||||||
|
mode: ingress
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- config:/config
|
||||||
|
deploy:
|
||||||
|
labels:
|
||||||
|
com.centurylinklabs.watchtower.enable: 'true'
|
||||||
|
wud.watch: 'true'
|
||||||
|
wud.watch.digest: 'true'
|
||||||
|
replicas: 1
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.role == manager
|
||||||
|
volumes:
|
||||||
|
config:
|
||||||
Reference in New Issue
Block a user