1
0
This repository has been archived on 2023-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
metaledger/docker-compose.yaml

27 lines
792 B
YAML
Executable File

version: "3"
services:
# TODO: Consider adding https://github.com/sbridges/ledgerble
ledgerbil:
# https://github.com/scarpent/ledgerbil
image: "ledgerbil:latest"
build: "ledgerbil/."
volumes:
- "${LEDGER_DIR}:/data"
- "ledgerbil-settings.py:/code/ledgerbil/settings.py"
ledger-analytics:
# https://github.com/kendricktan/ledger-analytics
image: "ledger-analytics:latest"
build: "ledger-analytics/."
volumes:
- "${LEDGER_DIR}:/data"
entrypoint: ["ledger-analytics", "-f", "/data/${LEDGER_FILE}"]
hledger:
image: "ghcr.io/tgrosinger/hledger-multiarch:1.26.1"
ports:
- "${HLEDGER_PORT}:5000"
user: "1000"
environment:
- HLEDGER_JOURNAL_FILE=/data/${LEDGER_FILE}
volumes:
- "${LEDGER_DIR}:/data"