[server-ce] upgrade mongo to 6.0 in e2e tests (#23611)

* [server-ce] upgrade mongo to 6.0 in e2e tests

* [server-ce] upgrade mongo to 6.0 for CE dev-env

GitOrigin-RevId: 6a76297d32177a8b5a067d325e74bdb01971af30
This commit is contained in:
Jakob Ackermann
2025-02-18 09:04:55 +00:00
committed by Copybot
parent 39884d8199
commit b79af7f6d3
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ services:
MAILTRAP_PASSWORD: 'password-for-mailtrap'
mongo:
image: mongo:5.0.17
image: mongo:6.0
command: '--replSet overleaf'
volumes:
- ../mongodb-init-replica-set.js:/docker-entrypoint-initdb.d/mongodb-init-replica-set.js
@@ -46,7 +46,7 @@ services:
# This override is not needed when running the setup after starting up mongo.
- mongo:127.0.0.1
healthcheck:
test: echo 'db.stats().ok' | mongo localhost:27017/test --quiet
test: echo 'db.stats().ok' | mongosh localhost:27017/test --quiet
interval: 3s
timeout: 3s
retries: 30