overleaf/server-ce/mongodb-init-replica-set.js
Jakob Ackermann 2b72d89171 Merge pull request #20685 from overleaf/jpa-fix-local-e2e
[server-ce] use database init script for setting up mongo replica set

GitOrigin-RevId: cf5c820a8c26da43de2f5c66677dba2c40a3667e
2024-10-14 11:00:03 +00:00

1 line
79 B
JavaScript

rs.initiate({ _id: "overleaf", members: [ { _id: 0, host: "mongo:27017" } ] })