Skip to content

Commit

Permalink
[feature/#313] docker network IP 수정
Browse files Browse the repository at this point in the history
[feature/#313] docker network IP 수정
  • Loading branch information
whitem4rk authored Jun 19, 2024
2 parents cd56df1 + 3f5d3f9 commit f8c8d36
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -61,7 +61,4 @@ services:

networks:
ibas-network:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/16
external: true

0 comments on commit f8c8d36

Please sign in to comment.