User health endpoint for healthcheck in docker compose

This commit is contained in:
2025-05-04 18:17:21 -05:00
parent bf0b2fa8c7
commit cd1d00193d

View File

@@ -33,7 +33,7 @@ services:
- AUTH_USERNAME=12345678 - AUTH_USERNAME=12345678
- AUTH_PASSWORD=87654321 - AUTH_PASSWORD=87654321
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:6090/channels?username=12345678&password=87654321"] test: ["CMD", "curl", "-f", "http://localhost:6090/health"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3