Skip to content

Commit

Permalink
[FIX] docker-compose external-host 에러 해결 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Goder-0 authored Jan 30, 2024
1 parent 4406421 commit abd632d
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 abd632d

Please sign in to comment.