Go to file
2024-02-11 19:41:55 +00:00
Dockerfile initial commit 2024-02-11 19:41:55 +00:00
README.md initial commit 2024-02-11 19:41:55 +00:00
start.sh initial commit 2024-02-11 19:41:55 +00:00

INSPIRED BY https://github.com/adept/hledger-docker

hledger-web Docker image

A simple Docker image that allows running hledger-web.

Example docker-compose.yml:

version: 3
services:
  ledger:
    image: wilw/hledger:latest
    ports:
      - 4001:5000
    volumes:
      - ./journals:/data
    environment:
      - "HLEDGER_BASE_URL=http://host:port"
      - "HLEDGER_JOURNAL_FILE=/data/file.journal"
    restart: unless-stopped