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