Merge pull request #16849 from overleaf/hb-issue-16799-mongdodb-v5-to-v6

Bump mongo from 5 to 6 in the dev environment

GitOrigin-RevId: 7b5aa0be57e93e1788acf55405e645556c8eaa13
This commit is contained in:
Hendrik Bonthuys
2024-02-13 10:06:03 +00:00
committed by Copybot
parent 87cd480151
commit f2bea32dd8
24 changed files with 46 additions and 46 deletions

View File

@@ -50,10 +50,10 @@ services:
command: tar -czf /tmp/build/build.tar.gz --exclude=build.tar.gz --exclude-vcs .
user: root
mongo:
image: mongo:5.0.17
image: mongo:6.0.13
command: --replSet overleaf
healthcheck:
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"
test: "mongosh --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"
interval: 1s
retries: 20
gcs: