[Dachs-support] dachs error

Markus Demleitner msdemlei at ari.uni-heidelberg.de
Sat Sep 8 06:42:52 CEST 2018


Hi Nathanaël,

On Fri, Sep 07, 2018 at 05:18:39PM +0200, Nathanaël Jourdane wrote:
> Le vendredi 7 septembre 2018, 16:29:39 CEST Markus Demleitner a écrit :
> > Re-building all that
> > logic certainly isn't worth it, so -- just run dachs init, it will
> > (in this case hopefully, as it's fragile enough as is) do what's
> > necessary.
> 
> Ok. So since I use a dedicated container for postgresql, I just
> want to know where to enter the database address (in my case it
> will be something like "postgres://db:5432"), before executing
> dachs init.

Just pass it as a DSN as a -d argument to dachs init, like this:

dachs init -d "host=db user=postgres password=secret"

or so.  Note that in this way, you will have to configure the
database to allow a remote superuser (I'm using the default postgres
here), so take care with the pg_hba.conf.

(and I notice in passing that that's exactly the setup Carlos has
figured out already:-)

         -- Markus



More information about the Dachs-support mailing list