mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-12 01:45:39 +00:00
fix: running mongodb locally and on k8s
This commit is contained in:
parent
d960e18f28
commit
01fb62bf29
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user