Skip to content

Commit

Permalink
KH-539: Fix Step to update database connection from ENV (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
enyachoke authored Jun 13, 2024
1 parent c9f1093 commit e8ba9f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ SUPERSET_DB_PASSWORD=superset
SUPERSET_ADMIN_USERNAME=admin
SUPERSET_ADMIN_PASSWORD=password
SUPERSET_LOAD_EXAMPLES=no
SUPERSET_DASHBOARDS_PATH=
ANALYTICS_DATASOURCE_NAME=PostgreSQL

# Superset Default Analytics DB
ANALYTICS_DB_USER=analytics
Expand Down Expand Up @@ -149,6 +149,7 @@ EIP_ODOO_OPENMRS_ROUTES_PATH=
SUPERSET_DATASOURCES_PATH=
SUPERSET_INIT_PATH=
SUPERSET_CONFIG_PATH=
SUPERSET_DASHBOARDS_PATH=

# Use the following volume to point to override database initialization scripts
# Be careful when overriding this because the default scripts run essential configuration tasks needed by Ozone FOSS
Expand Down
4 changes: 4 additions & 0 deletions docker-compose-superset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ services:
- ADMIN_USERNAME=${SUPERSET_ADMIN_USERNAME}
- ADMIN_PASSWORD=${SUPERSET_ADMIN_PASSWORD}
- ANALYTICS_DB_PASSWORD=${ANALYTICS_DB_PASSWORD}
- ANALYTICS_DB_NAME=${ANALYTICS_DB_NAME}
- ANALYTICS_DB_USER=${ANALYTICS_DB_USER}
- ANALYTICS_DB_HOST=${ANALYTICS_DB_HOST}
- ANALYTICS_DATASOURCE_NAME=${ANALYTICS_DATASOURCE_NAME}
image: &superset-image amancevice/superset:4.0.0
labels:
traefik.enable: "true"
Expand Down

0 comments on commit e8ba9f6

Please sign in to comment.