I am a fool and forget about the environment variables
This commit is contained in:
parent
0b908913c3
commit
fd51042d0e
@ -9,8 +9,8 @@ from typing import Generator
|
||||
|
||||
db_username = return_credentials("/etc/secrets/db_username")
|
||||
db_password = return_credentials("/etc/secrets/db_password")
|
||||
db_host = os.getenv("BACKEND_API_DB_HOST","localhost")
|
||||
db_database = os.getenv("BACKEND_API_DB_DATABASE","app")
|
||||
db_host = os.getenv("DB_HOST","localhost")
|
||||
db_database = os.getenv("DB_DATABASE","app")
|
||||
|
||||
logger = setup_logger(__name__)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user