Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature/#313] docker network IP 수정 #319

Merged
merged 1 commit into from
Jun 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading