mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-20 06:13:40 +00:00
[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:
parent
39884d8199
commit
b79af7f6d3
2 changed files with 3 additions and 3 deletions
|
@ -88,7 +88,7 @@ services:
|
|||
- history-v1-buckets:/buckets
|
||||
|
||||
mongo:
|
||||
image: mongo:5
|
||||
image: mongo:6.0
|
||||
command: --replSet overleaf
|
||||
ports:
|
||||
- "127.0.0.1:27017:27017" # for debugging
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue