Skip to content

Commit

Permalink
Make celery urls configurable (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
ms32035 authored May 22, 2020
1 parent 8be7142 commit 72eb094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class Config:
TESTING = os.getenv("TESTING", False)

### Workers
CELERY_BROKER_URL = "amqp://user:password@messageq:5672//"
CELERY_RESULT_BACKEND = "mongodb://database/flask"
CELERY_BROKER_URL = os.getenv("CELERY_BROKER_URL", "amqp://user:password@messageq:5672//")
CELERY_RESULT_BACKEND = os.getenv("CELERY_RESULT_BACKEND", "mongodb://database/flask")

### Dataset Options
DATASET_DIRECTORY = os.getenv("DATASET_DIRECTORY", "/datasets/")
Expand Down

0 comments on commit 72eb094

Please sign in to comment.