6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-30 05:09:02 +00:00
tutor/config/xqueue/templates/universal.py.templ
Régis Behmo 6d532be635 Attempt to fix xqueue -> MySQL connection errors
We explicitely set the MySQL connection port, even if it is the default
one. I don't think this solves anything, but it's a good idea to
set the port explicitely, generally speaking.
2018-06-08 17:47:01 -04:00

27 lines
562 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}'
}