Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ COPY --from=build_env /app /app
EXPOSE 5000

ENV BEANCOUNT_FILE=""
ENV FAVA_DEBUG="false"

ENV FAVA_HOST="0.0.0.0"
ENV PATH="/app/bin:$PATH"
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ docker run -d \
--name=syncthing \
-v $PWD:/bean \
-e BEANCOUNT_FILE=/bean/example.bean \
-e FAVA_DEBUG=false \
-p 5000:5000 \
--restart unless-stopped \
yegle/fava
Expand All @@ -34,16 +35,18 @@ services:
- 5000:5000
environment:
- BEANCOUNT_FILE=/bean/example.beancount
- FAVA_DEBUG=false
volumes:
- ${PWD}/:/bean
restart: unless-stopped
```

## Environment Variable

| Parameter | Value |
| :----: | --- |
| `BEANCOUNT_FILE` | path to your beancount file. Default to empty string. |
| Parameter | Value |
| :--------------: | ------------------------------------------------------ |
| `BEANCOUNT_FILE` | path to your beancount file. Default to empty string. |
| `FAVA_DEBUG` | Whether to turn on debugging or not. Default to false. |

## Note on auto build

Expand Down