aboutsummaryrefslogtreecommitdiffstats
path: root/thallium-backend/src/settings.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-08-16 17:53:52 +0100
committerGravatar Chris Lovering <[email protected]>2024-08-16 17:53:52 +0100
commit71d1ea51a4e9ccafd56bdcb5dba126f2b1831a36 (patch)
tree354c4d5c077036b22db6d1a8717fdb1540807929 /thallium-backend/src/settings.py
parentAdd a basic litestar app (diff)
Move to fastapi & mono repo layout
Diffstat (limited to 'thallium-backend/src/settings.py')
-rw-r--r--thallium-backend/src/settings.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/thallium-backend/src/settings.py b/thallium-backend/src/settings.py
new file mode 100644
index 0000000..2f9f6c1
--- /dev/null
+++ b/thallium-backend/src/settings.py
@@ -0,0 +1,9 @@
+from pydantic_settings import BaseSettings
+
+
+class _CONFIG(BaseSettings, env_file=".env", env_file_encoding="utf-8"):
+ debug: bool = False
+ git_sha: str = "development"
+
+
+CONFIG = _CONFIG()