1
0

Convert from metabase to superset

This commit is contained in:
Tony Grosinger 2022-07-26 16:26:57 -07:00
parent d42ec6f97a
commit c4c3153d90
2 changed files with 11 additions and 13 deletions

4
.env
View File

@ -22,7 +22,7 @@ HLEDGER_BASE_URL=http://localhost:5000
SQLITE_OUTPUT=all.sqlite
##
## Metabase
## Superset
##
METABASE_PORT=3000
SUPERSET_PORT=3000

View File

@ -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