aboutsummaryrefslogtreecommitdiffstats
path: root/src/pharos_dashboard/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pharos_dashboard/settings.py')
-rw-r--r--src/pharos_dashboard/settings.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pharos_dashboard/settings.py b/src/pharos_dashboard/settings.py
index e3b36b0..8155fd4 100644
--- a/src/pharos_dashboard/settings.py
+++ b/src/pharos_dashboard/settings.py
@@ -165,10 +165,10 @@ OAUTH_CALLBACK_URL = os.environ['DASHBOARD_URL'] + '/accounts/authenticated'
CELERY_TIMEZONE = 'UTC'
RABBITMQ_URL = 'rabbitmq'
-RABBITMQ_USER = os.environ['RABBITMQ_USER']
-RABBITMQ_PASSWORD = os.environ['RABBITMQ_PASSWORD']
+RABBITMQ_DEFAULT_USER = os.environ['RABBITMQ_DEFAULT_USER']
+RABBITMQ_DEFAULT_PASS = os.environ['RABBITMQ_DEFAULT_PASS']
-BROKER_URL = 'amqp://' + RABBITMQ_USER + ':' + RABBITMQ_PASSWORD + '@rabbitmq:5672//'
+BROKER_URL = 'amqp://' + RABBITMQ_DEFAULT_USER + ':' + RABBITMQ_DEFAULT_PASS + '@rabbitmq:5672//'
BOOKING_EXP_TIME = os.environ['BOOKING_EXPIRE_TIME']
BOOKING_MAX_NUM = os.environ['BOOKING_MAXIMUM_NUMBER']