add env in comfpose file

This commit is contained in:
jigoong
2026-02-17 10:56:09 +07:00
parent 400b27a6c8
commit 6e3fcb95cf
4 changed files with 38 additions and 16 deletions

View File

@@ -2,10 +2,12 @@ services:
superset:
image: apache/superset:latest
container_name: superset
env_file:
- ../.env.global
environment:
- SUPERSET_SECRET_KEY=${SUPERSET_SECRET_KEY}
- DATABASE_DIALECT=postgresql
- DATABASE_HOST=postgres
- DATABASE_HOST=${DB_HOST}
- DATABASE_PORT=5432
- DATABASE_DB=superset
- DATABASE_USER=${DB_USER}