create custom fava image to have latest version
This commit is contained in:
parent
29bbf0202c
commit
7ea96cf6af
2 changed files with 11 additions and 2 deletions
|
|
@ -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
10
fava/Dockerfile
Normal 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"]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue