feat: manually read configuration from environment variables

This commit is contained in:
Aravinth Manivannan
2023-10-16 18:29:23 +05:30
parent 060291d174
commit 98efe3ae56
3 changed files with 271 additions and 94 deletions

View File

@@ -45,9 +45,8 @@ duration = 30 # cooldown period in seconds
# url = "postgres://batman:password@batcave.org:5432/batcave"
# database_type = "postgres"
# pool = 4
url = "http://example.org" # hack for tests to run successfully
url = "postgres://example.org" # hack for tests to run successfully
pool = 4
database_type="postgres" # "postgres", "maria"
[redis]
# This section deals with the database location and how to access it