Skip to content

Commit

Permalink
[FIX] docker-compose external-host 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
Goder-0 committed Jan 30, 2024
1 parent 4406421 commit c5274d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docker/docker-compose.blue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ services:
ports:
- "8081:8080"
# 컨테이너의 이름
container_name: spring-blue
container_name: spring-blue
extra_hosts:
- "host.docker.internal:host-gateway"
4 changes: 3 additions & 1 deletion docker/docker-compose.green.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ services:
build: .
ports:
- "8082:8080"
container_name: spring-green
container_name: spring-green
extra_hosts:
- "host.docker.internal:host-gateway"

0 comments on commit c5274d3

Please sign in to comment.