6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 22:27:47 +00:00
tutor/config/openedx/templates/lms.auth.json.templ
Régis Behmo 43a97e5fe3 Add xqueue services
Xqueue containers consist of two services: a gunicorn service, that
receives requests from LMS/CMS, and a worker service. I guess the worker
service receives orders from the gunicorn service, through rabbitmq.
(but I'm less than certain about that).

While adding xqueue containers, we refactored the way mysql databases
are created, and how the root password is loaded. Also, we silenced some
options from the configure script.
2018-06-04 23:41:22 -04:00

35 lines
895 B
Plaintext

{
"SECRET_KEY": "${SECRET_KEY}",
"AWS_ACCESS_KEY_ID": "",
"AWS_SECRET_ACCESS_KEY": "",
"XQUEUE_INTERFACE": {
"django_auth": {
"username": "${XQUEUE_AUTH_USERNAME}",
"password": "${XQUEUE_AUTH_PASSWORD}"
},
"url": "http://xqueue:8040"
},
"CONTENTSTORE": {
"ENGINE": "xmodule.contentstore.mongo.MongoContentStore",
"DOC_STORE_CONFIG": {
"db": "${MONGODB_DATABASE}",
"host": "mongodb"
}
},
"DOC_STORE_CONFIG": {
"db": "${MONGODB_DATABASE}",
"host": "mongodb"
},
"DATABASES": {
"default": {
"ENGINE": "django.db.backends.mysql",
"NAME": "${MYSQL_DATABASE}",
"USER": "${MYSQL_USERNAME}",
"PASSWORD": "${MYSQL_PASSWORD}",
"HOST": "mysql",
"PORT": "3306",
"ATOMIC_REQUESTS": true
}
}
}