Commit db09b9a7 by John Jarvis

Merge pull request #297 from edx/jarv/fix-xqueue-db-setting

change quoting for hash and adding ENGINE to DATABASES
parents 66328c79 12aa9693
...@@ -41,28 +41,29 @@ XQUEUE_MYSQL_HOST: 'localhost' ...@@ -41,28 +41,29 @@ XQUEUE_MYSQL_HOST: 'localhost'
XQUEUE_MYSQL_PORT: '3306' XQUEUE_MYSQL_PORT: '3306'
xqueue_env_config: xqueue_env_config:
'XQUEUES': $XQUEUE_QUEUES XQUEUES: $XQUEUE_QUEUES
'XQUEUE_WORKERS_PER_QUEUE': 12 XQUEUE_WORKERS_PER_QUEUE: 12
'LOGGING_ENV' : $XQUEUE_LOGGING_ENV LOGGING_ENV : $XQUEUE_LOGGING_ENV
'SYSLOG_SERVER': $XQUEUE_SYSLOG_SERVER SYSLOG_SERVER: $XQUEUE_SYSLOG_SERVER
'LOG_DIR' : '/mnt/logs/xqueue' LOG_DIR : '/mnt/logs/xqueue'
'RABBIT_HOST' : $XQUEUE_RABBIT_HOSTNAME RABBIT_HOST : $XQUEUE_RABBIT_HOSTNAME
'S3_BUCKET' : $XQUEUE_S3_BUCKET S3_BUCKET : $XQUEUE_S3_BUCKET
'S3_PATH_PREFIX': $XQUEUE_S3_PATH_PREFIX S3_PATH_PREFIX: $XQUEUE_S3_PATH_PREFIX
'LOCAL_LOGLEVEL': $XQUEUE_LOCAL_LOGLEVEL LOCAL_LOGLEVEL: $XQUEUE_LOCAL_LOGLEVEL
xqueue_auth_config: xqueue_auth_config:
'AWS_ACCESS_KEY_ID': $XQUEUE_AWS_ACCESS_KEY_ID AWS_ACCESS_KEY_ID: $XQUEUE_AWS_ACCESS_KEY_ID
'AWS_SECRET_ACCESS_KEY': $XQUEUE_AWS_SECRET_ACCESS_KEY AWS_SECRET_ACCESS_KEY: $XQUEUE_AWS_SECRET_ACCESS_KEY
'REQUESTS_BASIC_AUTH': $XQUEUE_BASIC_AUTH REQUESTS_BASIC_AUTH: $XQUEUE_BASIC_AUTH
'USERS': { '{{XQUEUE_DJANGO_USER}}' : $XQUEUE_DJANGO_PASSWORD } USERS: { '{{XQUEUE_DJANGO_USER}}' : $XQUEUE_DJANGO_PASSWORD }
'DATABASES': DATABASES:
default: default:
'NAME': $XQUEUE_MYSQL_DB_NAME ENGINE: "django.db.backends.mysql"
'USER': $XQUEUE_MYSQL_USER NAME: $XQUEUE_MYSQL_DB_NAME
'PASSWORD': $XQUEUE_MYSQL_PASSWORD USER: $XQUEUE_MYSQL_USER
'HOST': $XQUEUE_MYSQL_HOST PASSWORD: $XQUEUE_MYSQL_PASSWORD
'PORT': $XQUEUE_MYSQL_PORT HOST: $XQUEUE_MYSQL_HOST
PORT: $XQUEUE_MYSQL_PORT
xqueue_create_db: 'yes' xqueue_create_db: 'yes'
xqueue_source_repo: https://github.com/edx/xqueue.git xqueue_source_repo: https://github.com/edx/xqueue.git
......
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