You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
When running the FastAPI app, the database connection fails due to incorrect credentials in config.py.
Steps to Reproduce
Run docker-compose up.
Check Fast API logs for database errors.
Suggested Fix
Update config.py to load environment variables correctly.
Ensure DATABASE_URL follows the correct PostgreSQL URI format.
Relevant Files
app/config.py
docker-compose.yml
The text was updated successfully, but these errors were encountered:
Title:
Fix: Database connection error in FastAPI
Description:
Problem
When running the FastAPI app, the database connection fails due to incorrect credentials in config.py.
Steps to Reproduce
Run docker-compose up.
Check Fast API logs for database errors.
Suggested Fix
Update config.py to load environment variables correctly.
Ensure DATABASE_URL follows the correct PostgreSQL URI format.
Relevant Files
app/config.py
docker-compose.yml
The text was updated successfully, but these errors were encountered: