Fixes: 1) Update healthcheck to include 'Accept: application/json' header in curl command;
Extra: None;
This commit is contained in:
parent
7dae84dc10
commit
eb07ca381e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue