pg.ddx.io  pgsql-pkg-docker@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Joseph Ferguson <joe@infosiftr.com>
Cc: Postgres-Docker Mailing List <pgsql-pkg-docker@postgresql.org>
Subject: Re: SSH-free PostgreSQL
Date: Wed, 30 Jul 2014 10:55:38 -0700
Message-ID: <53D9319A.7080708@agliodbs.com> (raw)
In-Reply-To: <WM!a9d3e2665ded72dfb911b812d6f979055c0d7b1484a11d3f99418973008e542fac8ee870cff410b2054c79dd2985eac7!@asav-2.01.com>
References: <53D7E53A.5080505@agliodbs.com>
	<CAF3-kPERXGQ2im3EUcKv-4AnzBZiccCEN2s=bYMCZe2GbcPkbg@mail.gmail.com>
	<WM!a9d3e2665ded72dfb911b812d6f979055c0d7b1484a11d3f99418973008e542fac8ee870cff410b2054c79dd2985eac7!@asav-2.01.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-docker>

On 07/29/2014 12:55 PM, Joseph Ferguson wrote:
> Overall this is a solid idea.  While I am not terribly familiar with
> postgres replication, couldn't the MASTER string be derived from
> --link environment variables on the replica slave?  It would at least
> have the ip address and port from the ENV.  We would also want to make
> sure if they provide a ROLE for replica that they also provide the
> other necessary parts (like the link if that fulfills the connection
> string).  There is a similar check in the official wordpress image (to
> check for the mysql --link) [1].

Question: how does --link work if the two dockers are on different machines?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


-- 
Sent via pgsql-pkg-docker mailing list (pgsql-pkg-docker@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-docker



view thread (9+ messages)  latest in thread

Message-ID: <53D9319A.7080708@agliodbs.com>
Permalink:  ../53D9319A.7080708@agliodbs.com/
Also on:    postgresql.org/message-id/53D9319A.7080708@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-pkg-docker@postgresql.org
  Cc: josh@agliodbs.com, joe@infosiftr.com
  Subject: Re: SSH-free PostgreSQL
  In-Reply-To: <53D9319A.7080708@agliodbs.com>
  References: <53D7E53A.5080505@agliodbs.com> <CAF3-kPERXGQ2im3EUcKv-4AnzBZiccCEN2s=bYMCZe2GbcPkbg@mail.gmail.com> <WM!a9d3e2665ded72dfb911b812d6f979055c0d7b1484a11d3f99418973008e542fac8ee870cff410b2054c79dd2985eac7!@asav-2.01.com> <53D9319A.7080708@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox