Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.07 KB

README.md

File metadata and controls

48 lines (38 loc) · 1.07 KB

fava-docker

A Dockerfile for beancount-fava, now the default web UI for beancount.

Usage Example

docker run -d \
    --name=syncthing \
    -v $PWD:/bean \
    -e BEANCOUNT_FILE=/bean/example.bean \
    -p 5000:5000 \
    --restart unless-stopped \
    yegle/fava

Docker Compose

---
version: "3.0"
services:
  fava:
    container_name: fava
    image: yegle/fava
    ports:
      - 5000:5000
    environment:
      - BEANCOUNT_FILE=/bean/example.beancount
    volumes:
      - ${PWD}/:/bean
    restart: unless-stopped

Environment Variable

Parameter Value
BEANCOUNT_FILE path to your beancount file. Default to empty string.

Note on auto build

The docker image was switched from build by Docker Hub to Github Actions. The image label pattern is changed: instead of labeled version-1.xx it's now labeled v1.xx.

You can check the auto build logs at https://github.com/yegle/fava-docker/actions.