Cleaned, updated and tested Overleaf (sharelatex)

This commit is contained in:
Goyban
2026-08-24 14:59:02 +02:00
parent 3c4b63d295
commit ee1afa4231
7 changed files with 315 additions and 61 deletions
@@ -0,0 +1,8 @@
// Mounted into Mongo's /docker-entrypoint-initdb.d/ and run ONCE, on the very
// first start against an empty data directory. Overleaf needs transactions,
// which Mongo only offers in replica-set mode -- even for a single node.
//
// If you ever wipe ./data/mongo, this runs again. If Mongo has data but no
// replica set, it does NOT run and you must call rs.initiate() by hand.
rs.initiate({ _id: 'overleaf', members: [{ _id: 0, host: 'mongo:27017' }] })