Merge pull request #199 from overleaf/em-docker-compose-healthchecks

Upgrade build-scripts to 3.4.0
This commit is contained in:
Jakob Ackermann 2020-11-26 13:13:38 +00:00 committed by GitHub
commit 2c5e892a70
3 changed files with 11 additions and 1 deletions

View file

@ -5,4 +5,4 @@ real-time
--env-pass-through=
--node-version=10.22.1
--public-repo=True
--script-version=3.3.5
--script-version=3.4.0

View file

@ -20,6 +20,7 @@ services:
environment:
ELASTIC_SEARCH_DSN: es:9200
REDIS_HOST: redis
QUEUES_REDIS_HOST: redis
MONGO_HOST: mongo
POSTGRES_HOST: postgres
MOCHA_GREP: ${MOCHA_GREP}
@ -41,4 +42,8 @@ services:
user: root
redis:
image: redis
healthcheck:
test: ping="$$(redis-cli ping)" && [ "$$ping" = 'PONG' ]
interval: 1s
retries: 20

View file

@ -25,6 +25,7 @@ services:
environment:
ELASTIC_SEARCH_DSN: es:9200
REDIS_HOST: redis
QUEUES_REDIS_HOST: redis
MONGO_HOST: mongo
POSTGRES_HOST: postgres
MOCHA_GREP: ${MOCHA_GREP}
@ -39,4 +40,8 @@ services:
redis:
image: redis
healthcheck:
test: ping=$$(redis-cli ping) && [ "$$ping" = 'PONG' ]
interval: 1s
retries: 20