-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BE] refactor: dockerfile -> docker-compose로 변경 (#24)
Signed-off-by: EunJiJung <[email protected]>
- Loading branch information
Showing
11 changed files
with
92 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
services: | ||
apigateway-server: | ||
build: | ||
context: apigateway-server | ||
dockerfile: Dockerfile | ||
ports: | ||
- 8000:8000 | ||
healthcheck: | ||
test: ["CMD-SHELL", "curl -f http://apigateway-server:8000/actuator/health || exit 1"] | ||
interval: 10s | ||
timeout: 5s | ||
retries: 2 | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
services: | ||
chat-service: | ||
build: | ||
context: chat-server | ||
dockerfile: Dockerfile | ||
expose: | ||
- 1000 # 내부 컨테이너 포트만 노출 | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
services: | ||
config-server: | ||
build: | ||
context: config-server | ||
dockerfile: Dockerfile | ||
ports: | ||
- 8888:8888 | ||
healthcheck: | ||
test: ["CMD-SHELL", "curl -f http://config-server:8888/actuator/health || exit 1"] | ||
interval: 10s | ||
timeout: 5s | ||
retries: 2 | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
services: | ||
discovery-server: | ||
build: | ||
context: discovery-server | ||
dockerfile: Dockerfile | ||
ports: | ||
- 8761:8761 | ||
healthcheck: | ||
test: ["CMD-SHELL", "curl -f http://discovery-server:8761/actuator/health || exit 1"] | ||
interval: 10s | ||
timeout: 5s | ||
retries: 2 | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# local 실행용 docker compose | ||
services: | ||
discovery-service: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
services: | ||
guild-service: | ||
build: | ||
context: guild-server | ||
dockerfile: Dockerfile | ||
expose: | ||
- 1000 # 내부 컨테이너 포트만 노출 | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
services: | ||
notification-service: | ||
build: | ||
context: notification-server | ||
dockerfile: Dockerfile | ||
expose: | ||
- 1000 # 내부 컨테이너 포트만 노출 | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
services: | ||
signaling-service: | ||
build: | ||
context: signaling-server | ||
dockerfile: Dockerfile | ||
expose: | ||
- 1000 # 내부 컨테이너 포트만 노출 | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
services: | ||
state-service: | ||
build: | ||
context: state-server | ||
dockerfile: Dockerfile | ||
expose: | ||
- 1000 # 내부 컨테이너 포트만 노출 | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
services: | ||
user-service: | ||
build: | ||
context: user-server | ||
dockerfile: Dockerfile | ||
expose: | ||
- 1000 # 내부 컨테이너 포트만 노출 | ||
restart: unless-stopped |