From c7fdf8ef2322fc83eddd47ad20c8abe3ac9ad073 Mon Sep 17 00:00:00 2001 From: joan Date: Wed, 30 Mar 2022 15:45:38 +0200 Subject: [PATCH] Added deploy instruction --- docker-compose.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 03d390e55..0ab098249 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,4 +6,9 @@ services: context: . dockerfile: ./Dockerfile ports: - - 4000 \ No newline at end of file + - 4000 + deploy: + replicas: 2 + placement: + constraints: + - node.role == worker \ No newline at end of file