From 003a1d6277f1fe3080c3b9f9ae215041c9ab45a3 Mon Sep 17 00:00:00 2001 From: Ignacio Lucero Date: Mon, 15 Sep 2025 21:31:57 +0200 Subject: [PATCH] Add possibility to turn on debugging on fava --- Dockerfile | 1 + README.md | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8068028..0e212d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" diff --git a/README.md b/README.md index 211f5a4..9864be0 100644 --- a/README.md +++ b/README.md @@ -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 @@ -34,6 +35,7 @@ services: - 5000:5000 environment: - BEANCOUNT_FILE=/bean/example.beancount + - FAVA_DEBUG=false volumes: - ${PWD}/:/bean restart: unless-stopped @@ -41,9 +43,10 @@ services: ## 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