feat: add constraint to be only on the manager node

This commit is contained in:
Mauricio Siu
2024-07-10 22:42:23 -06:00
parent 009311e29f
commit d8995264f5
2 changed files with 2 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ docker service create \
--publish published=3000,target=3000,mode=host \
--update-parallelism 1 \
--update-order stop-first \
--constraint 'node.role == manager' \
-e RELEASE_TAG=canary \
dokploy/dokploy:canary

View File

@@ -73,6 +73,7 @@ docker service create \
--publish published=3000,target=3000,mode=host \
--update-parallelism 1 \
--update-order stop-first \
--constraint 'node.role == manager' \
-e RELEASE_TAG=feature \
dokploy/dokploy:feature