Apache Superset
This commit is contained in:
@@ -18,13 +18,14 @@ services:
|
||||
depends_on:
|
||||
- database
|
||||
environment:
|
||||
SUPERSET_CONFIG_PATH: /app/pythonpath/superset_config.py
|
||||
SUPERSET_SECRET_KEY: ${SUPERSET_SECRET:-!ChangeMe!}
|
||||
SUPERSET_LOAD_EXAMPLES: no
|
||||
SUPERSET_DATABASE_URI: postgresql+psycopg2://sql:${POSTGRES_PASSWORD:-!ChangeMe!}@database:5432/superset
|
||||
ports:
|
||||
- "8088:8088"
|
||||
volumes:
|
||||
- superset_home:/app/superset_home
|
||||
- ./superset_config.py:/app/pythonpath/superset_config.py
|
||||
command: >
|
||||
sh -c "
|
||||
superset db upgrade &&
|
||||
@@ -32,8 +33,7 @@ services:
|
||||
superset init &&
|
||||
superset run -h 0.0.0.0 -p 8088 --with-threads --reload --debugger
|
||||
"
|
||||
|
||||
|
||||
volumes:
|
||||
database_data:
|
||||
superset_home:
|
||||
|
||||
Reference in New Issue
Block a user