Splitting up some of the Docker build steps (#8775)

* Splitting up some of the Docker build steps

* Adding dev target which includes requirements-extra / Updating docker configs to handle async query running
This commit is contained in:
Craig Rueda
2019-12-05 16:47:22 -08:00
committed by Maxime Beauchemin
parent 665e94784c
commit a44635e309
4 changed files with 76 additions and 18 deletions

View File

@@ -25,6 +25,8 @@
import logging
import os
from werkzeug.contrib.cache import FileSystemCache
logger = logging.getLogger()
@@ -61,6 +63,8 @@ SQLALCHEMY_DATABASE_URI = "postgresql://%s:%s@%s:%s/%s" % (
REDIS_HOST = get_env_variable("REDIS_HOST")
REDIS_PORT = get_env_variable("REDIS_PORT")
RESULTS_BACKEND = FileSystemCache('/app/superset_home/sqllab')
class CeleryConfig(object):
BROKER_URL = "redis://%s:%s/0" % (REDIS_HOST, REDIS_PORT)