aboutsummaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorJonathan Weth <git@jonathanweth.de>2020-07-29 18:07:21 +0200
committerJonathan Weth <git@jonathanweth.de>2020-07-29 18:07:21 +0200
commit7ca7079af96b294aaaac763b4d0b77a2cbc3d1fe (patch)
tree0281cb03a930811934fba829192fdbe83f3b1557 /config.py
parentc1b88b5944156a7b5e7f34abe735047cff7092d7 (diff)
downloadRWA.Support.SessionService-7ca7079af96b294aaaac763b4d0b77a2cbc3d1fe.tar.gz
RWA.Support.SessionService-7ca7079af96b294aaaac763b4d0b77a2cbc3d1fe.tar.bz2
RWA.Support.SessionService-7ca7079af96b294aaaac763b4d0b77a2cbc3d1fe.zip
Add option to configure API URL
Diffstat (limited to 'config.py')
-rw-r--r--config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.py b/config.py
new file mode 100644
index 0000000..06f2e6e
--- /dev/null
+++ b/config.py
@@ -0,0 +1,5 @@
+from dynaconf import Dynaconf
+
+settings = Dynaconf(
+ envvar_prefix="RWA", settings_files=["/etc/rwa-session-service/settings.toml"]
+)