How to use redis in n8n
-
Is there any way to create a redis instance for n8n ?
I need to use redis to create a fast cache solution for some workflows. but I did not found any way to how can I install or add a redis instance to connect in the n8n instance. -
This is currently only possible on Cloudron if we add the redis addon to the n8n package in the
CloudronManifest.json
.Given that this is a separate docker container, can you give more background for what it is used there and with which extension, so we can discuss if its worth it or if we should seek some other custom solution.
-
-
-
@nennogabriel we will look into adding "optional redis" in the coming releases.
-
@nennogabriel How do you do that? Can you share with everyone how to do it? Thank you.
-
You should be able to integrate your external redis via env variables https://docs.cloudron.io/apps/n8n/#custom-env
upstream docs for this are at https://docs.n8n.io/hosting/configuration/environment-variables/queue-mode/