|
@@ -36,6 +36,9 @@ services:
|
|
|
working_dir: /overleaf/services/history-v1
|
|
working_dir: /overleaf/services/history-v1
|
|
|
environment:
|
|
environment:
|
|
|
ELASTIC_SEARCH_DSN: es:9200
|
|
ELASTIC_SEARCH_DSN: es:9200
|
|
|
|
|
+ REDIS_HOST: redis
|
|
|
|
|
+ QUEUES_REDIS_HOST: redis
|
|
|
|
|
+ ANALYTICS_QUEUES_REDIS_HOST: redis
|
|
|
MONGO_HOST: mongo
|
|
MONGO_HOST: mongo
|
|
|
POSTGRES_HOST: postgres
|
|
POSTGRES_HOST: postgres
|
|
|
AWS_S3_ENDPOINT: https://minio:9000
|
|
AWS_S3_ENDPOINT: https://minio:9000
|
|
@@ -55,6 +58,8 @@ services:
|
|
|
depends_on:
|
|
depends_on:
|
|
|
mongo:
|
|
mongo:
|
|
|
condition: service_healthy
|
|
condition: service_healthy
|
|
|
|
|
+ redis:
|
|
|
|
|
+ condition: service_healthy
|
|
|
postgres:
|
|
postgres:
|
|
|
condition: service_healthy
|
|
condition: service_healthy
|
|
|
certs:
|
|
certs:
|
|
@@ -67,6 +72,13 @@ services:
|
|
|
condition: service_healthy
|
|
condition: service_healthy
|
|
|
command: npm run --silent test:acceptance
|
|
command: npm run --silent test:acceptance
|
|
|
|
|
|
|
|
|
|
+ redis:
|
|
|
|
|
+ image: redis
|
|
|
|
|
+ healthcheck:
|
|
|
|
|
+ test: ping=$$(redis-cli ping) && [ "$$ping" = 'PONG' ]
|
|
|
|
|
+ interval: 1s
|
|
|
|
|
+ retries: 20
|
|
|
|
|
+
|
|
|
mongo:
|
|
mongo:
|
|
|
image: mongo:6.0.13
|
|
image: mongo:6.0.13
|
|
|
command: --replSet overleaf
|
|
command: --replSet overleaf
|