Skip to content

Commit

Permalink
[feature/#313] docker network 사용
Browse files Browse the repository at this point in the history
[feature/#313] docker network 사용
  • Loading branch information
whitem4rk authored Jun 19, 2024
2 parents dfc2e3d + 3c60340 commit 01bf03f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ services:
prod1:
image: whtmdgus56/ibas-config:prod
container_name: backend-prod1
networks:
- ibas-network
ports:
- "8080:8080"
environment:
Expand All @@ -12,6 +14,8 @@ services:
prod2:
image: whtmdgus56/ibas-config:prod
container_name: backend-prod2
networks:
- ibas-network
ports:
- "8081:8081"
environment:
Expand All @@ -21,6 +25,8 @@ services:
dev1:
image: whtmdgus56/ibas-config:dev
container_name: backend-dev1
networks:
- ibas-network
ports:
- "8082:8082"
environment:
Expand All @@ -30,6 +36,8 @@ services:
dev2:
image: whtmdgus56/ibas-config:dev
container_name: backend-dev2
networks:
- ibas-network
ports:
- "8083:8083"
environment:
Expand Down
2 changes: 1 addition & 1 deletion resource-server/src/main/resources/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spring:
spring:
config:
activate:
on-profile: dev
on-profile: dev1, dev2, prod1, prod2
cloud:
config:
uri: http://localhost:8888
Expand Down

0 comments on commit 01bf03f

Please sign in to comment.