Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@ services:
ports:
- "8080:8080"
depends_on:
mysql:
condition: service_healthy
redis:
condition: service_healthy
- mysql
- redis
logging:
driver: "json-file"
options:
Expand Down
15 changes: 7 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ services:
- app_logs:/app/logs
networks:
- widyu-network
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/actuator/health"]
interval: 30s
timeout: 10s
retries: 10
start_period: 120s
# healthcheck:
# test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/actuator/health"]
# interval: 30s
# timeout: 10s
# retries: 10
# start_period: 120s

# Redis Cache (공통)
redis:
Expand Down Expand Up @@ -116,8 +116,7 @@ services:
networks:
- widyu-network
depends_on:
widyu-api:
condition: service_healthy
- widyu-api
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost/actuator/health"]
interval: 30s
Expand Down
Loading