diff --git a/.env b/.env index c79d4eb..fd6a325 100644 --- a/.env +++ b/.env @@ -22,7 +22,7 @@ HLEDGER_BASE_URL=http://localhost:5000 SQLITE_OUTPUT=all.sqlite ## -## Metabase +## Superset ## -METABASE_PORT=3000 +SUPERSET_PORT=3000 diff --git a/docker-compose.yaml b/docker-compose.yaml index 5f64a1d..f7c6424 100755 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,20 +3,18 @@ services: # TODO: Consider adding https://github.com/sbridges/ledgerble # TODO: Consider adding https://github.com/xitian9/hledger-vega - metabase: - # https://www.metabase.com/ - # https://github.com/tgrosinger/metabase-multiarch - image: "ghcr.io/tgrosinger/metabase-multiarch:latest" - environment: - - MB_DB_FILE=/metabase_data/metabase.db - - MUID=1000 - - MGID=1000 + superset: + # https://superset.apache.org + # https://github.com/tgrosinger/superset-multiarch + image: "ghcr.io/tgrosinger/superset-multiarch:latest" ports: - - "${METABASE_PORT}:3000" + - "${SUPERSET_PORT}:8088" volumes: - "${LEDGER_DIR}:/data" - - "${CONFIG_DIR}/metabase/db:/metabase_data" - - "${CONFIG_DIR}/metabase/plugins:/app/plugins" + # Run once without these volumes to generate the files. + # Then put the volume mounts back and relaunch. + - "${CONFIG_DIR}/superset/config.py:/app/superset/config.py" + - "${CONFIG_DIR}/superset/superset.db:/app/superset_home/superset.db" ledger-sqlite: # https://github.com/tgrosinger/ledger-sqlite