Flask unable to connect to Redis & Celery with Docker-Compose
I am able to run celery shared tasks in the flask (called web) container’s flask shell without issue, however they time out when running in a route. Suspecting that the redis container could not be reached, I ran the following in both the container’s flask shell and inside a route. I found the redis container’s ip with docker network inspect <network name>
.