Alembic migration with FastAPI + Docker: Connection to port 5432 in localhost fails when I try to run migrations
Currently I am trying to learn about Api development with FastAPI and I am trying to dockerize my project. However, when I try to run the database migrations with alembic in Docker by using docker run sm-api_api alembic upgrade head…