Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yegle/fava-docker
A Dockerfile for beancount-fava
https://github.com/yegle/fava-docker
Last synced: 14 days ago
JSON representation
A Dockerfile for beancount-fava
- Host: GitHub
- URL: https://github.com/yegle/fava-docker
- Owner: yegle
- License: mit
- Created: 2016-03-21T07:11:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-07-08T11:42:07.000Z (4 months ago)
- Last Synced: 2024-08-01T19:38:22.468Z (3 months ago)
- Language: Dockerfile
- Size: 45.9 KB
- Stars: 93
- Watchers: 9
- Forks: 45
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fava-docker
A Dockerfile for beancount-fava
## Usage Example
You can get started creating a container from this image, you can either use docker-compose or the docker cli.
Assuming you have `example.bean` in the current directory:
### Docker Cli
```bash
docker run -d \
--name=syncthing \
-v $PWD:/bean \
-e BEANCOUNT_FILE=/bean/example.bean \
-p 5000:5000 \
--restart unless-stopped \
yegle/fava
```### Docker Compose
```yml
---
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](https://hub.docker.com/r/yegle/fava) 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.