|
|
@@ -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
|