Redis container with Dash


I tried to follow the 5th part of the tutorial, Part 5. Sharing Data Between Callbacks | Dash for Python Documentation | Plotly, more specifically the third approach, Example 3 - Caching and Signaling. But I failed when using docker compose to handle both a container running dash and redis. Could someone explain me what should be done?


I have created a small Docker example with Redis here,

The usecase is slightly different, but I guess the Docker setup will be more or less the same.

Thanks, it’s working now with your tips. Here’s my code for it. If you want to give a look and point mistakes, feel free. Thanks again.