Skip to content

Commit 9f0184b

Browse files
authored
feature: add health checks in docker-compose (#4022)
1 parent 1c2f753 commit 9f0184b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ services:
121121
condition: service_healthy
122122
network_mode: "host"
123123
restart: always
124+
healthcheck:
125+
test: ["CMD", "curl", "-f", "http://localhost:8090/api/health"]
126+
interval: 10s
127+
timeout: 5s
128+
retries: 10
124129
environment:
125130
- ADMIN_API_KEY=${ADMIN_API_KEY}
126131
- BASE_SERVER_URL=${BASE_SERVER_URL}

0 commit comments

Comments
 (0)