add new config pattern for database URI and overrides

This commit is contained in:
dandds
2018-07-30 10:15:48 -04:00
parent 78c55099bc
commit 4b2047df0a
2 changed files with 46 additions and 15 deletions

View File

@@ -11,4 +11,8 @@ CAC_URL = https://localhost:8001
REQUESTS_QUEUE_BASE_URL = http://localhost:8003
REDIS_URI = redis://localhost:6379
SESSION_TTL_SECONDS = 600
DATABASE_URI = postgres://postgres:postgres@localhost/atat
DATABASE_HOST = localhost
DATABASE_PORT = 5432
DATABASE_USERNAME = postgres
DATABASE_PASSWORD = postgres
DATABASE_NAME = atat