Using Docker service with Frappe Bench locally

Hi Frappe Community,

I’m exploring the possibility of setting up Redis inside a Docker container to work with Frappe Bench. Currently, Bench initialization seems to require a local Redis server, but I’m curious if there’s a workaround to use a Dockerized Redis instance instead.

Has anyone managed to configure their Frappe environment to connect to a Redis service in Docker? I’d greatly appreciate any insights or instructions on how to integrate this.

±----------------+
| Frappe Instance |
±----------------+
|
v
±-----------------+ ±-----------------+ ±-----------------+
| Docker Container | | Docker Container | | Docker Container |
| Redis | | Postgres | | Nginx |
±-----------------+ ±-----------------+ ±-----------------+

Thanks in advance for your help!

Best,

Fulvi0