I’m on a struggle bus at the moment-- shocked I can’t figure this out. I’m trying to spin up the Docker+Worker and Postgres setup provided on the n8n git (n8n-hosting/docker-compose/withPostgresAndWorker at main · n8n-io/n8n-hosting · GitHub) and I’m just getting stymied every which way. At the moment, the n8n container is failing because it cannot reach the postgres server.
As you already say what the issue is, it is probably a misconfigured connection between the 2 servers. This can be that the server can simply not reach the other server because a port is closed for example. Or it can be a config issue in docker where you didn’t setup the containers properly.
Without having more information, we can only guess.
So please post more details.
Thanks for the reply. I’m using the linked Docker Compose file as a Stack Config within Portainer.
The only changes I’ve made are related to explicitly setting a Docker Network in the individual containers, and reformating a list for Portainer’s requires syntax. The former shouldn’t be required, but it’s been a part of my troubleshooting.
I think this is more likely a Portainer issue than a n8n, it may be that I’m barking up the wrong tree with this post.
I suppose I was hoping to find somebody who has done exactly what I’m doing with n8n.