jonra1993 / fastapi-alembic-sqlmodel-async

This is a project template which uses FastAPI, Pydantic 2.0, Alembic and async SQLModel as ORM. It shows a complete async CRUD using authentication and role base access control.
MIT License
878 stars 142 forks source link

Cannot connect to Redis error #97

Open AaronWChen opened 6 days ago

AaronWChen commented 6 days ago

Hello! Saw this template and figured I'd give it a try. Cloning and running instructions as is has 7 containers running, but I get this error: consumer: Cannot connect to redis://redis_server_test:6379//: Error -2 connecting to redis_server_test:6379. Name or service not known

And a CONNECTION_REFUSED when I try to open the app in my browser.

I'm using WSL2 (Ubuntu) on Windows 10 and initially tried to apply the steps listed here because Docker and WSL2 can act a little weird before I thought to ask about the traceback above.

Using poetry with python 3.12.4 and fastapi 0.111.0 and that's all.