Skip to content

Commit 2db5d0f

Browse files
committed
Update docker-compose.yml to fix health check command
1 parent 6a3a837 commit 2db5d0f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: "3"
2-
31
services:
42
df-cache:
53
build:
@@ -9,9 +7,11 @@ services:
97
- "8007:8000/tcp"
108
restart: unless-stopped
119
healthcheck:
12-
test: [ "curl", "-f", "http://localhost:8000/health-check" ]
10+
test: [ "CMD", "curl", "-f", "http://localhost:8000/health-check" ]
1311
interval: 5m
14-
timeout: 10s
12+
timeout: 20s
1513
retries: 3
14+
start_period: 5s
15+
start_interval: 10s
1616
environment:
1717
- RUST_LOG=info

0 commit comments

Comments
 (0)