pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Georg H. <georg-h@silentrunner.de>
To: Bikram Majumdar <bikramma@gmail.com>
Cc: Bikram MAJUMDAR <Bikram.Majumdar@aqsacom.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Question on pgwatch
Date: Fri, 23 Aug 2019 23:00:10 +0200
Message-ID: <3ef61165-9158-3b24-b175-65cd95b632cd@silentrunner.de> (raw)
In-Reply-To: <CAKjPsz2pqg93RiJ66eKBawBLAvm+prSiqz+FtQqkXoDM7X8Rww@mail.gmail.com>
References: <AM6PR0502MB36240E7D8C081584D618A557EFD30@AM6PR0502MB3624.eurprd05.prod.outlook.com>
	<CAKoxK+7=tsOeNwG4_gAwdbiroV70U0vDjPLAyG-eQviOot5HgA@mail.gmail.com>
	<AM6PR0502MB3624547753A9749E454EA6BFEFD20@AM6PR0502MB3624.eurprd05.prod.outlook.com>
	<CAKoxK+6x_SPVJqpqeZQFVqvf1SGHE3_4oLoBTGoYS1kS+QcJ=Q@mail.gmail.com>
	<9CB8AC2E-27EA-431A-A00A-763E7DF124BA@elevated-dev.com>
	<AM6PR0502MB3624E424FBF9C49F1DF49E73EFD20@AM6PR0502MB3624.eurprd05.prod.outlook.com>
	<CAKoxK+4_-h7W2MENrw+-6eP6d1dmEg8CexzoA9qxy5tyObygCA@mail.gmail.com>
	<AM6PR0502MB3624021F836D421D56DB75FCEFAD0@AM6PR0502MB3624.eurprd05.prod.outlook.com>
	<CAKoxK+7ibJ=Ab9Wz06qUZbdO9XpEwPi6zS=mfAaM+XZYKc0NyQ@mail.gmail.com>
	<AM6PR0502MB3624751E4B2B236FA3575E2EEFAF0@AM6PR0502MB3624.eurprd05.prod.outlook.com>
	<AM6PR0502MB36249643361A7E23189FE185EFA50@AM6PR0502MB3624.eurprd05.prod.outlook.com>
	<2c6ba2e4-04dc-474b-09b7-c4ab5b6af285@silentrunner.de>
	<CAKjPsz2pqg93RiJ66eKBawBLAvm+prSiqz+FtQqkXoDM7X8Rww@mail.gmail.com>

Hi Bikram,

Am 23.08.2019 um 22:10 schrieb Bikram Majumdar:
> Hi George,
>
> So nice for your response.
>
> Thanks. But, my question is how does it get the IP address 172.17.0.2 ?
>
> And, how does one run psql command to connect/login to the test 
> database ( pgwatch configuration database)  to add any database ?
>
> Thanks and regards,
> Bikram
>
>
the pgwatch2 configuration database resides within the docker container 
when using the docker variant.

Whether you've exposed this port on container creation/start or you have 
to go into the docker image (docker exec -it IMAGENAME /bin/bash) and 
connect there with psql (pg_hba.conf should be in 
/etc/postgresql/[version]/main or similiar).

regards

Georg

view thread (17+ messages)  latest in thread

Message-ID: <3ef61165-9158-3b24-b175-65cd95b632cd@silentrunner.de>
Permalink:  ../3ef61165-9158-3b24-b175-65cd95b632cd@silentrunner.de/
Also on:    postgresql.org/message-id/3ef61165-9158-3b24-b175-65cd95b632cd@silentrunner.de

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: georg-h@silentrunner.de, bikramma@gmail.com, Bikram.Majumdar@aqsacom.com, pgsql-general@postgresql.org
  Subject: Re: Question on pgwatch
  In-Reply-To: <3ef61165-9158-3b24-b175-65cd95b632cd@silentrunner.de>

* 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