create custom fava image to have latest version

This commit is contained in:
Patrick Mulligan 2026-01-19 08:45:04 -05:00
commit 7ea96cf6af
2 changed files with 11 additions and 2 deletions

View file

@ -26,13 +26,12 @@ services:
fava: fava:
hostname: fava hostname: fava
image: yegle/fava build: ./fava
restart: on-failure restart: on-failure
ports: ports:
- 3333:5000 - 3333:5000
volumes: volumes:
- ./data/fava:/bean - ./data/fava:/bean
command: ["-H", "0.0.0.0", "/bean/ledger.beancount"]
boltz: boltz:
hostname: boltz hostname: boltz

10
fava/Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM python:3.12-slim
RUN pip install --no-cache-dir fava==1.30.11
WORKDIR /bean
EXPOSE 5000
ENTRYPOINT ["fava"]
CMD ["-H", "0.0.0.0", "/bean/ledger.beancount"]