From 45eb3aaf9d8373294936ddb4aff0d3b5ea023553 Mon Sep 17 00:00:00 2001 From: Marcos Nils Date: Tue, 31 Jan 2017 08:40:55 -0300 Subject: [PATCH] Update replicas to 1 in result service If a loadbalancer is used for this service, then socket.io will fail as the session will be created only in one container. --- docker-stack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-stack.yml b/docker-stack.yml index 8a7c608..df46582 100644 --- a/docker-stack.yml +++ b/docker-stack.yml @@ -46,7 +46,7 @@ services: depends_on: - db deploy: - replicas: 2 + replicas: 1 update_config: parallelism: 2 delay: 10s