Re: SSH-free PostgreSQL

From: Tianon Gravi <admwiggin(at)gmail(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Joe Ferguson <joe(at)infosiftr(dot)com>, Postgres-Docker Mailing List <pgsql-pkg-docker(at)postgresql(dot)org>
Subject: Re: SSH-free PostgreSQL
Date: 2014-07-30 19:42:45
Message-ID: CAHnKnK28FKTbT-nCNDt_4t0bbFjNoU++hqTT5WO2zY0=PUgrLg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-docker

On 30 Jul 2014 13:40, "Josh Berkus" <josh(at)agliodbs(dot)com> wrote:
>
> 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.

Well, you're not going to get that from just --link either, so I don't see
a way for those to not be specified by the user.

>
> --
> Josh Berkus
> PostgreSQL Experts Inc.
> http://pgexperts.com
>
>
> --
> Sent via pgsql-pkg-docker mailing list (pgsql-pkg-docker(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-pkg-docker

- Tianon

In response to

Responses

Browse pgsql-pkg-docker by date

  From Date Subject
Next Message Josh Berkus 2014-07-30 19:52:20 Re: SSH-free PostgreSQL
Previous Message Josh Berkus 2014-07-30 19:39:58 Re: SSH-free PostgreSQL