This is good workflow automation tool. So far enjoying it as it is quick and easy to use.
I am facing one issue as mentioned below.
I am running n8n in docker container and redis in different docker container. I have written my workflow with webhook, doing few operations in my workflow and once data is ready to write I am writing it in redis using redis node with credentials details with host as localhost and port as default 6379.
But when I am trying to save data its giving me below mentioned error: ERROR: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
I am running my both docker containers using below mentioned commands:
The problem is probably more docker related. The reason is that even though you expose the ports to your computer the containers itself still connect differently than you expect. To make it work you can simply do the following.
Start the redis container like you described above docker run -ti -p 6379:6379 --name redis --rm redis
Start n8n with the redis container linked docker run -it --rm --link redis --name n8n -p 5678:5678
Now connect to redis like before but instead of using host localhost use redis instead.