From 968ca60f62056a33f800cdffa88624a09284e164 Mon Sep 17 00:00:00 2001 From: William Valentin Date: Thu, 17 Jul 2025 15:28:41 -0700 Subject: [PATCH] Add ditenv package and update .env.example file --- .env.example | 8 ++++++-- Pipfile | 1 + Pipfile.lock | 17 ++++++++++++++++- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 7835dc0..cd5b2d1 100644 --- a/.env.example +++ b/.env.example @@ -1,7 +1,7 @@ # The version of the application # This should match the version in your Dockerfile -# Example: VERSION=0.0.1 -VERSION=0.0.1 +# Example: VERSION=1.0.1 +VERSION=1.0.1 # The Docker image name # This should include the registry, repository, and tag # Example: IMAGE=gitea-http.taildb3494.ts.net/will/thechart:${VERSION} @@ -13,3 +13,7 @@ IMAGE=gitea-http.taildb3494.ts.net/will/thechart:${VERSION} SRC_PATH=./src # The IP address of your X server, e.g., 192.168.1.100 DISPLAY_IP= +# Set the logging level for the application +# Options: DEBUG, INFO, WARNING, ERROR, CRITICAL +LOG_LEVEL=INFO +LOG_FILE=/tmp/thechart.log diff --git a/Pipfile b/Pipfile index d2256f6..34c6bf0 100644 --- a/Pipfile +++ b/Pipfile @@ -22,6 +22,7 @@ tzdata = "==2025.2" [dev-packages] pre-commit = "*" pyinstaller = "*" +dotenv = "*" [requires] python_version = "3.13" diff --git a/Pipfile.lock b/Pipfile.lock index 2745999..1016b09 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "a6f9d7361f9826b6d6b6b6fa3331b8f468dbda1d913fa809ee8adae15b88e4d9" + "sha256": "f28cb0e9366b2f53950ace8489d74eb4fd492f073cfc18581ee36e12e516bc01" }, "pipfile-spec": 6, "requires": { @@ -563,6 +563,13 @@ ], "version": "==0.4.0" }, + "dotenv": { + "hashes": [ + "sha256:29cf74a087b31dafdb5a446b6d7e11cbce8ed2741540e2339c69fbef92c94ce9" + ], + "index": "pypi", + "version": "==0.9.9" + }, "filelock": { "hashes": [ "sha256:adbc88eabb99d2fec8c9c1b229b171f18afa655400173ddc653d5d01501fb9f2", @@ -640,6 +647,14 @@ "markers": "python_version >= '3.8'", "version": "==2025.6" }, + "python-dotenv": { + "hashes": [ + "sha256:31f23644fe2602f88ff55e1f5c79ba497e01224ee7737937930c448e4d0e24dc", + "sha256:a8a6399716257f45be6a007360200409fce5cda2661e3dec71d23dc15f6189ab" + ], + "markers": "python_version >= '3.9'", + "version": "==1.1.1" + }, "pyyaml": { "hashes": [ "sha256:01179a4a8559ab5de078078f37e5c1a30d76bb88519906844fd7bdea1b7729ff",