Skip to content

Commit dc1993d

Browse files
committed
Add healthcheck
1 parent d781d4b commit dc1993d

File tree

1 file changed

+4
-0
lines changed
  • docs/installation/components

1 file changed

+4
-0
lines changed

docs/installation/components/vllm.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ services:
7070
- frontend-net
7171
volumes:
7272
- ~/.cache/huggingface:/root/.cache/huggingface
73+
healthcheck:
74+
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
75+
interval: 10s
76+
start_period: 300s
7377
labels:
7478
caddy: ${VLLM_HOSTNAME:?Variable is not set or empty}
7579
caddy.@denied.not_0: "remote_ip ${VLLM_ALLOWED_IPS:?Variable is not set or empty} private_ranges"

0 commit comments

Comments
 (0)