Unique gateway for multiple nodes
Hello!
I have a cluster docker in linode.
I have a external cluster postgres.
Today, when I add a new node to cluster i need change my postgres config to receive new connection from another IP
I would like to have a single IP output, but i don't know how.
1 Reply
Hey there -
This sounds like you're using Docker Swarm. I'm not an expert in this, but I wanted to give you some resources that might be helpful and then open this up to further discussion from the Community.
I found a few guides from Docker that might be useful:
That will give you the basics on how to set up Swarm. Piggybacking off of that, here's another one that discusses creating Docker networks:
I hope that gives you a good place to start. I see you've put some good tags on this post to get it more visibility in the Community - so I invite others who work with Docker to give their input/insight as well!