Re: SSH-free PostgreSQL

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Joseph Ferguson <joe(at)infosiftr(dot)com>
Cc: Postgres-Docker Mailing List <pgsql-pkg-docker(at)postgresql(dot)org>
Subject: Re: SSH-free PostgreSQL
Date: 2014-07-30 19:39:58
Message-ID: 53D94A0E.5070103@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-docker

On 07/30/2014 12:34 PM, Joseph Ferguson wrote:
> On Wed, Jul 30, 2014 at 11:55 AM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
>>
>> Question: how does --link work if the two dockers are on different machines?
>
> Currently it does not work at all. The local docker daemon knows
> nothing of other docker daemons. I think expanding --link or
> something similar is planned for the future.
>
> Regardless, the --link could still be emulated by setting the correct
> env vars (POSTGRES_PORT_5432_TCP_ADDR POSTGRES_PORT_5432_TCP_PORT) on
> the linked-from host and setting the proper routing and possible port
> mapping to the container on the other machine.

Those settings aren't *enough* though. We also need to know user and
application name.

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

In response to

Responses

Browse pgsql-pkg-docker by date

  From Date Subject
Next Message Tianon Gravi 2014-07-30 19:42:45 Re: SSH-free PostgreSQL
Previous Message Joseph Ferguson 2014-07-30 19:34:03 Re: SSH-free PostgreSQL