fix health endpoint, avoid redirect

This commit is contained in:
Simon
2025-09-04 10:39:49 +07:00
parent 02b428b776
commit f4c78e32f7

View File

@@ -19,7 +19,7 @@ services:
- ELASTIC_PASSWORD=verysecret # set password for Elasticsearch
- TZ=America/New_York # set your time zone
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"]
test: ["CMD", "curl", "-f", "http://localhost:8000/api/health/"]
interval: 2m
timeout: 10s
retries: 3