diff --git a/docker-stack.yml b/docker-stack.yml index ebc2d6b..8a7c608 100644 --- a/docker-stack.yml +++ b/docker-stack.yml @@ -77,10 +77,13 @@ services: stop_grace_period: 1m30s volumes: - "/var/run/docker.sock:/var/run/docker.sock" + deploy: + placement: + constraints: [node.role == manager] networks: frontend: backend: volumes: - db-data: \ No newline at end of file + db-data: