Skip to content

Commit

Permalink
chore: test db connection
Browse files Browse the repository at this point in the history
  • Loading branch information
montoyaobeso committed Jun 5, 2024
1 parent 1067041 commit d8e5867
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/db/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
os.environ["POSTGRES_PASSWORD"] = db_credentials["password"]
os.environ["POSTRES_HOST"] = db_credentials["host"]
os.environ["POSTRES_DB"] = db_credentials["database"]
print(db_credentials)

SQLALCHEMY_DATABASE_URL = f"postgresql://{os.environ['POSTGRES_USER']}:{os.environ['POSTGRES_PASSWORD']}@{os.environ['POSTRES_HOST']}/{os.environ['POSTGRES_DB']}"

Expand Down

0 comments on commit d8e5867

Please sign in to comment.