mirror of
https://gitlab.dit.htwk-leipzig.de/fsr-im/k8s/services/overleaf-cep.git
synced 2025-08-30 16:43:52 +02:00
Add MongoDB initialization script and update deployment configurations
This commit is contained in:
8
overleaf-helm-chart/templates/configmap-mongo-init.yaml
Normal file
8
overleaf-helm-chart/templates/configmap-mongo-init.yaml
Normal 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' }] })
|
Reference in New Issue
Block a user