deployment added

This commit is contained in:
2021-11-23 09:49:16 +01:00
parent 219d522dfa
commit 6733dc249a
+7 -1
View File
@@ -17,4 +17,10 @@ services:
com.centurylinklabs.watchtower.enable: "true"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
restart: always
deploy:
mode: replicated
replicas: 1
placement:
constraints:
- node.labels.watchtower == true