Add MongoDB initialization script and update deployment configurations

This commit is contained in:
Elmar Kresse
2025-06-17 17:26:10 +02:00
parent ffbd5a0991
commit c53a087f1e
8 changed files with 36 additions and 8 deletions

View File

@@ -0,0 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: mongo-init-script
namespace: overleaf
data:
mongodb-init.js: |
rs.initiate({ _id: 'overleaf', members: [{ _id: 0, host: 'mongo:27017' }] })