Enhance Docker (#6504)

Refactored deprecated functionalities:
  - Used 'celery worker' command instead of 'superset worker' which is
    deprecated since 0.26.0
  - Used 'gunicorn' command instead of 'superset runserver'
This commit is contained in:
oliviermichaelis
2019-01-03 20:33:31 +01:00
committed by Maxime Beauchemin
parent 142e7b6df7
commit c01230afb7
2 changed files with 12 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ services:
- 6379:6379
volumes:
- redis:/data
postgres:
image: postgres:10
restart: unless-stopped
@@ -18,6 +19,7 @@ services:
- 5432:5432
volumes:
- postgres:/var/lib/postgresql/data
superset:
build:
context: ../../
@@ -44,6 +46,7 @@ services:
- ./superset_config.py:/home/superset/superset/superset_config.py
# this is needed for development, remove with SUPERSET_ENV=production
- ../../superset:/home/superset/superset
volumes:
postgres:
external: false