From f1b356d630a170857e9392634575cda349cc1172 Mon Sep 17 00:00:00 2001 From: Pratham Ingawale <94799826+PRATHAM-SPS@users.noreply.github.com> Date: Sun, 16 Apr 2023 23:24:46 +0530 Subject: [PATCH] solved setup error (yaml: unmarshal errors: line 90: mapping key "links" already defined at line 75) This Error is faced during the setup of the project in the windows system. Links where defined two times in docker-compose.prod.yml file I have merged it and now this changes works asolutly fine for setting up the system without errors. --- docker-compose.prod.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 040012d3f..a895feecb 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -75,6 +75,8 @@ services: links: - "redis:redis_cache" - "db:postgres" + - "redis:redis" + - "db:db" env_file: - .env.prod environment: @@ -87,9 +89,8 @@ services: depends_on: - redis - db - links: - - "redis:redis" - - "db:db" + + deploy: replicas: 3