Merge pull request #23700 from overleaf/bg-history-redis

add redis to history-v1

GitOrigin-RevId: def900c4b560ea0a297b11b6c0ecc8cc8caa5b49
This commit is contained in:
Brian Gough
2025-02-20 09:06:54 +00:00
committed by Copybot
parent 8ca5360454
commit 32983da29c
5 changed files with 49 additions and 2 deletions

View File

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