From 3f5d3f9d066de742c050f1401c4085fe484f6904 Mon Sep 17 00:00:00 2001 From: whitemark Date: Wed, 19 Jun 2024 21:26:59 +0900 Subject: [PATCH] =?UTF-8?q?[feature/#313]=20docker=20network=20IP=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 88396ff5..55608df5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: container_name: backend-cloud-config networks: ibas-network: - - ipv4_address: 172.18.0.4 + ipv4_address: 172.18.0.4 ports: - "8888:8888" entrypoint: [ "java", "-jar", "app.jar" ] @@ -15,7 +15,7 @@ services: container_name: backend-prod1 networks: ibas-network: - - ipv4_address: 172.18.0.2 + ipv4_address: 172.18.0.2 ports: - "8080:8080" environment: @@ -27,7 +27,7 @@ services: container_name: backend-prod2 networks: ibas-network: - - ipv4_address: 172.18.0.2 + ipv4_address: 172.18.0.2 ports: - "8081:8081" environment: @@ -39,7 +39,7 @@ services: container_name: backend-dev1 networks: ibas-network: - - ipv4_address: 172.18.0.3 + ipv4_address: 172.18.0.3 ports: - "8082:8082" environment: @@ -51,7 +51,7 @@ services: container_name: backend-dev2 networks: ibas-network: - - ipv4_address: 172.18.0.3 + ipv4_address: 172.18.0.3 ports: - "8083:8083" environment: @@ -61,7 +61,4 @@ services: networks: ibas-network: - driver: bridge - ipam: - config: - - subnet: 172.18.0.0/16 \ No newline at end of file + external: true \ No newline at end of file