This commit is contained in:
2025-09-15 11:35:13 +02:00
parent 23b3038150
commit fb54fd0856
2 changed files with 24 additions and 0 deletions

View File

@@ -13,5 +13,27 @@ services:
ports:
- 5432:5432
bi:
image: apache/superset:latest
depends_on:
- database
environment:
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
command: >
sh -c "
superset db upgrade &&
superset fab create-admin --username admin --firstname Admin --lastname User --email admin@superset.com --password admin &&
superset init &&
superset run -h 0.0.0.0 -p 8088 --with-threads --reload --debugger
"
volumes:
database_data:
superset_home: