Commit 7b3b33a4 by e0d

Merge pull request #344 from edx/e0d/doc-store-config-fix

This config needs to be a multiple levels for the moment :(
parents 77d31c83 c28bdc89
...@@ -99,6 +99,13 @@ edxapp_generic_auth_config: &edxapp_generic_auth ...@@ -99,6 +99,13 @@ edxapp_generic_auth_config: &edxapp_generic_auth
basic_auth: $EDXAPP_XQUEUE_BASIC_AUTH basic_auth: $EDXAPP_XQUEUE_BASIC_AUTH
django_auth: $EDXAPP_XQUEUE_DJANGO_AUTH django_auth: $EDXAPP_XQUEUE_DJANGO_AUTH
url: $EDXAPP_XQUEUE_URL url: $EDXAPP_XQUEUE_URL
DOC_STORE_CONFIG: &edxapp_generic_default_docstore
db: $EDXAPP_MONGO_DB_NAME
host: $EDXAPP_MONGO_HOSTS
password: $EDXAPP_MONGO_PASSWORD
port: $EDXAPP_MONGO_PORT
user: $EDXAPP_MONGO_USER
collection: 'modulestore'
CONTENTSTORE: CONTENTSTORE:
ENGINE: 'xmodule.contentstore.mongo.MongoContentStore' ENGINE: 'xmodule.contentstore.mongo.MongoContentStore'
# #
...@@ -111,12 +118,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth ...@@ -111,12 +118,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth
password: $EDXAPP_MONGO_PASSWORD password: $EDXAPP_MONGO_PASSWORD
port: $EDXAPP_MONGO_PORT port: $EDXAPP_MONGO_PORT
user: $EDXAPP_MONGO_USER user: $EDXAPP_MONGO_USER
DOC_STORE_CONFIG: DOC_STORE_CONFIG: *edxapp_generic_default_modulestore
db: $EDXAPP_MONGO_DB_NAME
host: $EDXAPP_MONGO_HOSTS
password: $EDXAPP_MONGO_PASSWORD
port: $EDXAPP_MONGO_PORT
user: $EDXAPP_MONGO_USER
MODULESTORE: MODULESTORE:
default: &edxapp_generic_default_modulestore default: &edxapp_generic_default_modulestore
ENGINE: 'xmodule.modulestore.mongo.DraftMongoModuleStore' ENGINE: 'xmodule.modulestore.mongo.DraftMongoModuleStore'
...@@ -131,13 +133,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth ...@@ -131,13 +133,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth
render_template: 'mitxmako.shortcuts.render_to_string' render_template: 'mitxmako.shortcuts.render_to_string'
# Needed for the CMS to be able to run update_templates # Needed for the CMS to be able to run update_templates
user: $EDXAPP_MONGO_USER user: $EDXAPP_MONGO_USER
DOC_STORE_CONFIG: &edxapp_generic_default_docstore DOC_STORE_CONFIG: *edxapp_generic_default_docstore
db: $EDXAPP_MONGO_DB_NAME
host: $EDXAPP_MONGO_HOSTS
password: $EDXAPP_MONGO_PASSWORD
port: $EDXAPP_MONGO_PORT
user: $EDXAPP_MONGO_USER
collection: 'modulestore'
direct: &edxapp_generic_direct_modulestore direct: &edxapp_generic_direct_modulestore
ENGINE: 'xmodule.modulestore.mongo.MongoModuleStore' ENGINE: 'xmodule.modulestore.mongo.MongoModuleStore'
OPTIONS: *generic_modulestore_default_options OPTIONS: *generic_modulestore_default_options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment