43 lines
1.4 KiB
YAML
Executable File
43 lines
1.4 KiB
YAML
Executable File
version: "3"
|
|
services:
|
|
# TODO: Consider adding https://github.com/sbridges/ledgerble
|
|
# TODO: Consider adding https://github.com/xitian9/hledger-vega
|
|
|
|
superset:
|
|
# https://superset.apache.org
|
|
# https://github.com/tgrosinger/superset-multiarch
|
|
image: "ghcr.io/tgrosinger/superset-multiarch:latest"
|
|
ports:
|
|
- "${SUPERSET_PORT}:8088"
|
|
volumes:
|
|
- "${LEDGER_DIR}:/data"
|
|
# 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
|
|
image: "ghcr.io/tgrosinger/ledger-sqlite:latest"
|
|
environment:
|
|
- LEDGER_FILE=/data/${PRIMARY_LEDGER_FILE}
|
|
- OUTPUT_FILE=/data/${SQLITE_OUTPUT}
|
|
- OVERWRITE_OUTPUT=true
|
|
volumes:
|
|
- "${LEDGER_DIR}:/data"
|
|
|
|
hledger:
|
|
# https://hledger.org
|
|
# https://github.com/tgrosinger/hledger-multiarch
|
|
image: "ghcr.io/tgrosinger/hledger-multiarch:1.26.1"
|
|
ports:
|
|
- "${HLEDGER_PORT}:5000"
|
|
user: "1000"
|
|
environment:
|
|
- HLEDGER_PORT=${HLEDGER_PORT}
|
|
- HLEDGER_BASE_URL=${HLEDGER_BASE_URL}
|
|
- HLEDGER_JOURNAL_FILE=/data/${PRIMARY_LEDGER_FILE}
|
|
- LEDGER_FILE=/data/${PRIMARY_LEDGER_FILE}
|
|
volumes:
|
|
- "${LEDGER_DIR}:/data"
|