Convert from metabase to superset
This commit is contained in:
parent
d42ec6f97a
commit
c4c3153d90
4
.env
4
.env
@ -22,7 +22,7 @@ HLEDGER_BASE_URL=http://localhost:5000
|
|||||||
SQLITE_OUTPUT=all.sqlite
|
SQLITE_OUTPUT=all.sqlite
|
||||||
|
|
||||||
##
|
##
|
||||||
## Metabase
|
## Superset
|
||||||
##
|
##
|
||||||
|
|
||||||
METABASE_PORT=3000
|
SUPERSET_PORT=3000
|
||||||
|
@ -3,20 +3,18 @@ services:
|
|||||||
# TODO: Consider adding https://github.com/sbridges/ledgerble
|
# TODO: Consider adding https://github.com/sbridges/ledgerble
|
||||||
# TODO: Consider adding https://github.com/xitian9/hledger-vega
|
# TODO: Consider adding https://github.com/xitian9/hledger-vega
|
||||||
|
|
||||||
metabase:
|
superset:
|
||||||
# https://www.metabase.com/
|
# https://superset.apache.org
|
||||||
# https://github.com/tgrosinger/metabase-multiarch
|
# https://github.com/tgrosinger/superset-multiarch
|
||||||
image: "ghcr.io/tgrosinger/metabase-multiarch:latest"
|
image: "ghcr.io/tgrosinger/superset-multiarch:latest"
|
||||||
environment:
|
|
||||||
- MB_DB_FILE=/metabase_data/metabase.db
|
|
||||||
- MUID=1000
|
|
||||||
- MGID=1000
|
|
||||||
ports:
|
ports:
|
||||||
- "${METABASE_PORT}:3000"
|
- "${SUPERSET_PORT}:8088"
|
||||||
volumes:
|
volumes:
|
||||||
- "${LEDGER_DIR}:/data"
|
- "${LEDGER_DIR}:/data"
|
||||||
- "${CONFIG_DIR}/metabase/db:/metabase_data"
|
# Run once without these volumes to generate the files.
|
||||||
- "${CONFIG_DIR}/metabase/plugins:/app/plugins"
|
# 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:
|
ledger-sqlite:
|
||||||
# https://github.com/tgrosinger/ledger-sqlite
|
# https://github.com/tgrosinger/ledger-sqlite
|
||||||
|
Reference in New Issue
Block a user