Update README.md

This commit is contained in:
LRVT
2026-02-18 10:52:43 +01:00
committed by GitHub
parent 40e19a6607
commit adf7d6de3f

View File

@@ -1,3 +1,13 @@
# References # References
- https://github.com/overleaf/overleaf - https://github.com/overleaf/overleaf
- https://github.com/overleaf/overleaf/blob/main/docker-compose.yml
# Notes
- Download `mongodb-init-replica-set.js` next to this compose file before first startup:
```bash
curl -o mongodb-init-replica-set.js https://raw.githubusercontent.com/overleaf/overleaf/main/bin/shared/mongodb-init-replica-set.js
```
- MongoDB runs with a replica set (`--replSet overleaf`), which is required by newer Overleaf versions
- If migrating from an older setup (mongo 5.0, no replica set), initialize the replica set manually on existing data rather than relying on the init script