Fixes: 1) Update healthcheck to include 'Accept: application/json' header in curl command;

Extra: None;
This commit is contained in:
Egor Pavlovich Gorbunov 2025-06-22 15:21:00 +03:00
parent 7dae84dc10
commit eb07ca381e

View file

@ -26,7 +26,7 @@ services:
condition: service_healthy
logging: *default-logging
healthcheck:
test: [ "CMD-SHELL", "curl -f http://localhost:8000/health || exit 1" ]
test: [ "CMD-SHELL", "curl --header 'Accept: application/json' -f http://localhost:8000/health/ || exit 1" ]
interval: 30s
timeout: 10s
retries: 5