Celery doesn't connect Redis

What does your Dockerfile for the parent image look like?

I had an issue connecting celery to redis using docker. In my case, to fix it I had to use the name of the docker-compose service, which in this case is ‘redis’. So the connection string would be ‘redis://redis:6379/0’.

1 Like