Merge pull request #3442 from alphagov/celery-docker

add script to run celery from within docker
This commit is contained in:
Leo Hemsted
2022-02-03 12:51:01 +00:00
committed by GitHub
4 changed files with 57 additions and 1 deletions

View File

@@ -427,7 +427,7 @@ class Development(Config):
NOTIFY_LOG_PATH = 'application.log'
NOTIFY_EMAIL_DOMAIN = "notify.tools"
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/notification_api'
SQLALCHEMY_DATABASE_URI = os.getenv('SQLALCHEMY_DATABASE_URI', 'postgresql://localhost/notification_api')
REDIS_URL = 'redis://localhost:6379/0'
ANTIVIRUS_ENABLED = os.getenv('ANTIVIRUS_ENABLED') == '1'