From 3c603407cde683d7aa0258cc4441c6633613b058 Mon Sep 17 00:00:00 2001 From: whitemark Date: Wed, 19 Jun 2024 15:53:14 +0900 Subject: [PATCH] =?UTF-8?q?[feature/#313]=20docker=20network=20=EC=82=AC?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 8 ++++++++ resource-server/src/main/resources/bootstrap.yml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 63beefec..97ba90bb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,8 @@ services: prod1: image: whtmdgus56/ibas-config:prod container_name: backend-prod1 + networks: + - ibas-network ports: - "8080:8080" environment: @@ -12,6 +14,8 @@ services: prod2: image: whtmdgus56/ibas-config:prod container_name: backend-prod2 + networks: + - ibas-network ports: - "8081:8081" environment: @@ -21,6 +25,8 @@ services: dev1: image: whtmdgus56/ibas-config:dev container_name: backend-dev1 + networks: + - ibas-network ports: - "8082:8082" environment: @@ -30,6 +36,8 @@ services: dev2: image: whtmdgus56/ibas-config:dev container_name: backend-dev2 + networks: + - ibas-network ports: - "8083:8083" environment: diff --git a/resource-server/src/main/resources/bootstrap.yml b/resource-server/src/main/resources/bootstrap.yml index 37f22a9e..e3d56342 100644 --- a/resource-server/src/main/resources/bootstrap.yml +++ b/resource-server/src/main/resources/bootstrap.yml @@ -6,7 +6,7 @@ spring: spring: config: activate: - on-profile: dev + on-profile: dev1, dev2, prod1, prod2 cloud: config: uri: http://localhost:8888