Unique gateway for multiple nodes


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

Linode Staff

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:

Swarm Mode Overview

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:

Docker Network Create

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!


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct