Add ditenv package and update .env.example file

This commit is contained in:
William Valentin
2025-07-17 15:28:41 -07:00
parent a2b9b24153
commit 968ca60f62
3 changed files with 23 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
# The version of the application # The version of the application
# This should match the version in your Dockerfile # This should match the version in your Dockerfile
# Example: VERSION=0.0.1 # Example: VERSION=1.0.1
VERSION=0.0.1 VERSION=1.0.1
# The Docker image name # The Docker image name
# This should include the registry, repository, and tag # This should include the registry, repository, and tag
# Example: IMAGE=gitea-http.taildb3494.ts.net/will/thechart:${VERSION} # 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 SRC_PATH=./src
# The IP address of your X server, e.g., 192.168.1.100 # The IP address of your X server, e.g., 192.168.1.100
DISPLAY_IP= DISPLAY_IP=
# Set the logging level for the application
# Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
LOG_FILE=/tmp/thechart.log

View File

@@ -22,6 +22,7 @@ tzdata = "==2025.2"
[dev-packages] [dev-packages]
pre-commit = "*" pre-commit = "*"
pyinstaller = "*" pyinstaller = "*"
dotenv = "*"
[requires] [requires]
python_version = "3.13" python_version = "3.13"

17
Pipfile.lock generated
View File

@@ -1,7 +1,7 @@
{ {
"_meta": { "_meta": {
"hash": { "hash": {
"sha256": "a6f9d7361f9826b6d6b6b6fa3331b8f468dbda1d913fa809ee8adae15b88e4d9" "sha256": "f28cb0e9366b2f53950ace8489d74eb4fd492f073cfc18581ee36e12e516bc01"
}, },
"pipfile-spec": 6, "pipfile-spec": 6,
"requires": { "requires": {
@@ -563,6 +563,13 @@
], ],
"version": "==0.4.0" "version": "==0.4.0"
}, },
"dotenv": {
"hashes": [
"sha256:29cf74a087b31dafdb5a446b6d7e11cbce8ed2741540e2339c69fbef92c94ce9"
],
"index": "pypi",
"version": "==0.9.9"
},
"filelock": { "filelock": {
"hashes": [ "hashes": [
"sha256:adbc88eabb99d2fec8c9c1b229b171f18afa655400173ddc653d5d01501fb9f2", "sha256:adbc88eabb99d2fec8c9c1b229b171f18afa655400173ddc653d5d01501fb9f2",
@@ -640,6 +647,14 @@
"markers": "python_version >= '3.8'", "markers": "python_version >= '3.8'",
"version": "==2025.6" "version": "==2025.6"
}, },
"python-dotenv": {
"hashes": [
"sha256:31f23644fe2602f88ff55e1f5c79ba497e01224ee7737937930c448e4d0e24dc",
"sha256:a8a6399716257f45be6a007360200409fce5cda2661e3dec71d23dc15f6189ab"
],
"markers": "python_version >= '3.9'",
"version": "==1.1.1"
},
"pyyaml": { "pyyaml": {
"hashes": [ "hashes": [
"sha256:01179a4a8559ab5de078078f37e5c1a30d76bb88519906844fd7bdea1b7729ff", "sha256:01179a4a8559ab5de078078f37e5c1a30d76bb88519906844fd7bdea1b7729ff",