mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +00:00
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:
committed by
Maxime Beauchemin
parent
142e7b6df7
commit
c01230afb7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user