diff --git a/layer-api/infra/development/docker-compose.yaml b/layer-api/infra/development/docker-compose.yaml index eb17dbd3..918fc5e4 100644 --- a/layer-api/infra/development/docker-compose.yaml +++ b/layer-api/infra/development/docker-compose.yaml @@ -8,6 +8,8 @@ services: volumes: - redis-data:/data # Persistent data storage restart: always + networks: + - app-network java-app: image: docker.io/clean01/layer-server_layer-api:latest diff --git a/layer-api/infra/production/docker-compose-blue.yaml b/layer-api/infra/production/docker-compose-blue.yaml index 53b15b2a..3f061985 100644 --- a/layer-api/infra/production/docker-compose-blue.yaml +++ b/layer-api/infra/production/docker-compose-blue.yaml @@ -8,6 +8,8 @@ services: volumes: - redis-data:/data # Persistent data storage restart: always + networks: + - app-network layer-api-blue: image: docker.io/clean01/layer-server_layer-api:latest diff --git a/layer-api/infra/production/docker-compose-green.yaml b/layer-api/infra/production/docker-compose-green.yaml index 7c5ce859..21e50a1c 100644 --- a/layer-api/infra/production/docker-compose-green.yaml +++ b/layer-api/infra/production/docker-compose-green.yaml @@ -8,6 +8,9 @@ services: volumes: - redis-data:/data # Persistent data storage restart: always + networks: + - app-network + layer-api-green: image: docker.io/clean01/layer-server_layer-api:latest container_name: layer-api-green