Hi guys, I’m running n8n and traefik in one project and evolution and redis in other projects and different folders. It’s not like what’s shown in the video. I abandoned the project with Easypanel because it consumes a lot of machine performance and crashes. I think that’s why I’m having trouble with this new project without Easypanel. If anyone has managed to configure the Redis Chat Memory node in different projects, please help me. Thanks.
I thank everyone who collaborated with the old project using EasyPanel, I would like to know what I should do with the topics I opened for him, since I preferred to abandon and create two different projects.
hi, regards different projects because they are made in different folders, while with the video everything is done in a single project within easypanel (redis, n8n and the evolution api), here is a printscreen of the configuration of the .yml file of my redis.
not sure what easypanel is, but if we are talking about just a docker compose environment, you just need to make sure that the containers are in the same network for them to be able to talk to each other internally. Otherwise, if they are not running within the same docker environment, you would need to access redis from n8n by it’s external address (if this is possible in your setup).
[quote=“jabbson, post:4, topic:150102, full:true”]
not sure what easypanel is, but if we are talking about just a docker compose environment, you just need to make sure that the containers are in the same network for them to be able to talk to each other internally. Otherwise, if they are not running within the same docker environment, you would need to access redis from n8n by it’s external address (if this is possible in your setup).
[/quote]They are running in the same docker compose, but in two different folders, but I don’t know how to configure one project to see the other.
This is the final part of the configuration of the other project with traefik and n8n, the printscreen only has the final part of the n8n configuration.
I recommend you explicitly create your networks instead of relying on the default bridge. I know for sure that named network is reusable across projects, while the default one - probably not. In any case, having named networks is a good practice and could solve your issue.
I’ve noticed that containers change names every time they are restarted, unfortunately I know almost nothing about networks, I spent my whole life with hardware, I took courses in basic, assembly and visual basic, but I’ve never worked with software, I have no idea what you mean, I’m sorry.
Here we again have a network specified, only this time of the type external, which tells docker that this network is managed by another project and should not be created, but instead is expected to exist.
See if you can use that to connect your n8n container to the redis across in a different project.
I looked at the page you recommended and made some changes, but it didn’t work. What if I ran both projects inside the same container? Would it be easier for the applications to communicate? Like in the case of video.
I’d recommend against running multiple apps in the same container (for which you would need to create a new custom image). Can you provide your resulting docker compose files (make sure to mask any sensitive information) for both n8n and redis?