Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options to set advertised addresses and ports #103

Open
sgotti opened this issue Jan 26, 2016 · 2 comments
Open

Add options to set advertised addresses and ports #103

sgotti opened this issue Jan 26, 2016 · 2 comments

Comments

@sgotti
Copy link
Member

sgotti commented Jan 26, 2016

When running behind a nat or another routable address (like docker with default bridge config) the listening addresses and ports will be different than the one the stolon processes are binded.
To handle this case some new --advertise options are needed.

Related to #101

@dddpaul
Copy link

dddpaul commented May 14, 2016

Hi, are there plans to implement this new --advertise option?

@kainz
Copy link

kainz commented Feb 7, 2017

so the docs/integration are poor, but I have this working via running stolon keeper --pg-listen-address/STKEEPER_PG_LISTEN_ADDRESS as your 'real' host address, and also setting these things to get the ports right:

PGPORT, STKEEPER_PG_PORT both to the external listening port, and also running with --pg-port with the same port number. This one was especially tricky IIRC because there was a bit of oddity in assigning the port number in the right places, and stolon-keeper was not owning setting all of them at the same time for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants