2018-06-02 01:29:53 +00:00
|
|
|
from .settings import *
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
|
|
|
'ENGINE': 'django.db.backends.mysql',
|
2018-08-05 14:40:51 +00:00
|
|
|
'NAME': '{{ XQUEUE_MYSQL_DATABASE }}',
|
|
|
|
'USER': '{{ XQUEUE_MYSQL_USERNAME }}',
|
|
|
|
'PASSWORD': '{{ XQUEUE_MYSQL_PASSWORD }}',
|
2018-06-02 01:29:53 +00:00
|
|
|
'HOST': 'mysql',
|
2018-06-08 21:47:01 +00:00
|
|
|
'PORT': '3306',
|
2018-06-02 01:29:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
LOGGING = get_logger_config(
|
|
|
|
log_dir="/openedx/data/",
|
|
|
|
logging_env="universal",
|
|
|
|
dev_env=True,
|
|
|
|
)
|
|
|
|
|
|
|
|
RABBIT_HOST = 'rabbitmq'
|
|
|
|
RABBIT_PORT = 5672
|
2018-08-05 14:40:51 +00:00
|
|
|
SECRET_KEY = '{{ XQUEUE_SECRET_KEY }}'
|
2018-06-02 01:29:53 +00:00
|
|
|
|
|
|
|
XQUEUE_USERS = {
|
2018-08-05 14:40:51 +00:00
|
|
|
'{{ XQUEUE_AUTH_USERNAME }}': '{{ XQUEUE_AUTH_PASSWORD}}'
|
2018-06-02 01:29:53 +00:00
|
|
|
}
|