Fixed Healthchecks in docker-compose.yml (#10553)

lolsob-rspec
Fabian Schlenz 2019-04-23 00:54:26 +02:00 committed by Eugen Rochko
parent e9cae29819
commit 2d6fd9197b
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ services:
- external_network - external_network
- internal_network - internal_network
healthcheck: healthcheck:
test: ["CMD-SHELL", "wget -q --spider --header 'x-forwarded-proto: https' --proxy off localhost:3000/api/v1/instance || exit 1"] test: ["CMD-SHELL", "wget -q --spider --header 'x-forwarded-proto: https' --proxy=off localhost:3000/api/v1/instance || exit 1"]
ports: ports:
- "127.0.0.1:3000:3000" - "127.0.0.1:3000:3000"
depends_on: depends_on:
@ -63,7 +63,7 @@ services:
- external_network - external_network
- internal_network - internal_network
healthcheck: healthcheck:
test: ["CMD-SHELL", "wget -q --spider --header 'x-forwarded-proto: https' --proxy off localhost:4000/api/v1/streaming/health || exit 1"] test: ["CMD-SHELL", "wget -q --spider --header 'x-forwarded-proto: https' --proxy=off localhost:4000/api/v1/streaming/health || exit 1"]
ports: ports:
- "127.0.0.1:4000:4000" - "127.0.0.1:4000:4000"
depends_on: depends_on: