Disable healthchecks for now

This commit is contained in:
decentral1se 2021-05-28 15:01:57 +02:00
parent 56a4e6b7a0
commit aa1fa1e654
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 21 additions and 18 deletions

View File

@ -35,12 +35,13 @@ services:
- "bootstrap.memory_lock=true" - "bootstrap.memory_lock=true"
networks: networks:
- internal_network - internal_network
healthcheck: # Note(decentral1se): get this working, failing somehow so far
test: # healthcheck:
[ # test:
"CMD-SHELL", # [
"curl --silent --fail localhost:9200/_cluster/health || exit 1", # "CMD-SHELL",
] # "curl --silent --fail localhost:9200/_cluster/health || exit 1",
# ]
volumes: volumes:
- es:/usr/share/elasticsearch/data - es:/usr/share/elasticsearch/data
ulimits: ulimits:
@ -54,12 +55,13 @@ services:
networks: &bothNetworks networks: &bothNetworks
- proxy - proxy
- internal_network - internal_network
healthcheck: # Note(decentral1se): get this working, failing somehow so far
test: # healthcheck:
[ # test:
"CMD-SHELL", # [
"wget -q --spider --proxy=off localhost:3000/health || exit 1", # "CMD-SHELL",
] # "wget -q --spider --proxy=off localhost:3000/health || exit 1",
# ]
deploy: deploy:
update_config: update_config:
failure_action: rollback failure_action: rollback
@ -190,12 +192,13 @@ services:
entrypoint: *entrypoint entrypoint: *entrypoint
secrets: *secrets secrets: *secrets
networks: *bothNetworks networks: *bothNetworks
healthcheck: # Note(decentral1se): get this working, failing somehow so far
test: # healthcheck:
[ # test:
"CMD-SHELL", # [
"wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1", # "CMD-SHELL",
] # "wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1",
# ]
deploy: deploy:
update_config: update_config:
failure_action: rollback failure_action: rollback