Skip to content

Commit 8f3e350

Browse files
committed
[infra] docker-compose-blue.yml 수정
1 parent ba3601c commit 8f3e350

2 files changed

Lines changed: 18 additions & 11 deletions

File tree

.idea/workspace.xml

Lines changed: 11 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker-compose-blue.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,10 @@ services:
2020
ports:
2121
- "8081:8080"
2222
environment:
23-
SPRING_PROFILES_ACTIVE: prod
23+
SPRING_PROFILES_ACTIVE: prod
24+
# 👇 이 부분을 추가하여 MongoDB와 Redis가 먼저 시작되도록 보장합니다.
25+
depends_on:
26+
mongo:
27+
condition: service_started
28+
redis:
29+
condition: service_started

0 commit comments

Comments
 (0)