From 5d4b622864793d8fe34c378d4553182e31a14255 Mon Sep 17 00:00:00 2001 From: Riku Rouvila Date: Fri, 15 Dec 2023 09:44:49 +0200 Subject: [PATCH] only define overlay net in the main deploy docker compose so that it keeps attachable --- infrastructure/docker-compose.demo-deploy.yml | 3 --- infrastructure/docker-compose.development-deploy.yml | 3 --- infrastructure/docker-compose.production-deploy.yml | 3 --- infrastructure/docker-compose.qa-deploy.yml | 1 - infrastructure/docker-compose.staging-deploy.yml | 3 --- 5 files changed, 13 deletions(-) diff --git a/infrastructure/docker-compose.demo-deploy.yml b/infrastructure/docker-compose.demo-deploy.yml index 6969d0285..6df7c8438 100644 --- a/infrastructure/docker-compose.demo-deploy.yml +++ b/infrastructure/docker-compose.demo-deploy.yml @@ -229,6 +229,3 @@ services: - mongo3 environment: - REPLICAS=3 - -networks: - overlay_net: {} diff --git a/infrastructure/docker-compose.development-deploy.yml b/infrastructure/docker-compose.development-deploy.yml index 6aaf94076..b9128e262 100644 --- a/infrastructure/docker-compose.development-deploy.yml +++ b/infrastructure/docker-compose.development-deploy.yml @@ -92,6 +92,3 @@ services: environment: - QA_ENV=true - NODE_ENV=production - -networks: - overlay_net: {} diff --git a/infrastructure/docker-compose.production-deploy.yml b/infrastructure/docker-compose.production-deploy.yml index 6969d0285..6df7c8438 100644 --- a/infrastructure/docker-compose.production-deploy.yml +++ b/infrastructure/docker-compose.production-deploy.yml @@ -229,6 +229,3 @@ services: - mongo3 environment: - REPLICAS=3 - -networks: - overlay_net: {} diff --git a/infrastructure/docker-compose.qa-deploy.yml b/infrastructure/docker-compose.qa-deploy.yml index f8b2cc967..13e2ddc68 100644 --- a/infrastructure/docker-compose.qa-deploy.yml +++ b/infrastructure/docker-compose.qa-deploy.yml @@ -133,7 +133,6 @@ services: - vpn networks: - overlay_net: {} vpn: driver: overlay attachable: false diff --git a/infrastructure/docker-compose.staging-deploy.yml b/infrastructure/docker-compose.staging-deploy.yml index 6aaf94076..b9128e262 100644 --- a/infrastructure/docker-compose.staging-deploy.yml +++ b/infrastructure/docker-compose.staging-deploy.yml @@ -92,6 +92,3 @@ services: environment: - QA_ENV=true - NODE_ENV=production - -networks: - overlay_net: {}