7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-01 13:50:47 +00:00

fix: running mongodb locally and on k8s

This commit is contained in:
Régis Behmo 2021-10-25 14:22:08 +02:00 committed by Régis Behmo
parent d960e18f28
commit 01fb62bf29
2 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@ spec:
containers:
- name: mongodb
image: {{ DOCKER_IMAGE_MONGODB }}
args: ["mongod", "--smallfiles", "--nojournal", "--storageEngine", "wiredTiger"]
args: ["mongod", "--nojournal", "--storageEngine", "wiredTiger"]
ports:
- containerPort: 27017
volumeMounts:

View File

@ -7,7 +7,7 @@ services:
mongodb:
image: {{ DOCKER_IMAGE_MONGODB }}
# Use WiredTiger in all environments, just like at edx.org
command: mongod --smallfiles --nojournal --storageEngine wiredTiger
command: mongod --nojournal --storageEngine wiredTiger
restart: unless-stopped
volumes:
- ../../data/mongodb:/data/db