How to use redis in n8n
-
wrote on Feb 17, 2023, 2:48 AM last edited by
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.
-
-
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.
wrote on Feb 18, 2023, 6:56 PM last edited by@nebulon but in that way i should update n8n manualy? there are not a way to make it run with a enviroment variable?
-
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.
wrote on Feb 18, 2023, 8:15 PM last edited by@nebulon nice... i follow the docs and get it working
I will lost automatic updates, but ok. I have redis now
-
wrote on Feb 19, 2023, 6:50 PM last edited by
couldn't one simply use any existing redis service from another container?
-
-
@nebulon nice... i follow the docs and get it working
I will lost automatic updates, but ok. I have redis now
@nennogabriel we will look into adding "optional redis" in the coming releases.
-
wrote on Feb 24, 2023, 6:06 PM last edited by
@robi yes. I didnt thing about this. simple and good.
-
@nebulon nice... i follow the docs and get it working
I will lost automatic updates, but ok. I have redis now
wrote on Apr 10, 2024, 10:04 AM last edited by@nennogabriel How do you do that? Can you share with everyone how to do it? Thank you.
-
wrote on Apr 21, 2024, 10:32 PM last edited by
Hi !
I'm looking at your services, and wonder if Posgresql and Redis are integrated into your instances of n8n ?
Thanks ! -
The main database for the n8n package is Postgres on Cloudron and that is integrated. Redis is not at the moment.
-
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/