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: