6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-09 08:30:18 +00:00
tutor/config/xqueue/templates/universal.py.templ
Régis Behmo af6e62b069 Migrate templating to jinja2
In the future, jinja2 templates will allow us to create more complex
configuration templates.
2018-08-18 07:48:30 +02:00

27 lines
579 B
Plaintext

from .settings import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': '{{ XQUEUE_MYSQL_DATABASE }}',
'USER': '{{ XQUEUE_MYSQL_USERNAME }}',
'PASSWORD': '{{ XQUEUE_MYSQL_PASSWORD }}',
'HOST': 'mysql',
'PORT': '3306',
}
}
LOGGING = get_logger_config(
log_dir="/openedx/data/",
logging_env="universal",
dev_env=True,
)
RABBIT_HOST = 'rabbitmq'
RABBIT_PORT = 5672
SECRET_KEY = '{{ XQUEUE_SECRET_KEY }}'
XQUEUE_USERS = {
'{{ XQUEUE_AUTH_USERNAME }}': '{{ XQUEUE_AUTH_PASSWORD}}'
}