Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i1Gfd-0001E0-2Z for pgsql-general@arkaria.postgresql.org; Fri, 23 Aug 2019 21:00:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i1Gfa-0003Bt-3M for pgsql-general@arkaria.postgresql.org; Fri, 23 Aug 2019 21:00:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i1GfZ-000344-NF for pgsql-general@lists.postgresql.org; Fri, 23 Aug 2019 21:00:25 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i1GfS-0002zk-At for pgsql-general@postgresql.org; Fri, 23 Aug 2019 21:00:24 +0000 Received: from [127.0.0.1] ([62.117.25.147]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MNfgZ-1hr0q72vdL-00P3Bk; Fri, 23 Aug 2019 23:00:13 +0200 Subject: Re: Question on pgwatch To: Bikram Majumdar Cc: Bikram MAJUMDAR , pgsql-general References: <9CB8AC2E-27EA-431A-A00A-763E7DF124BA@elevated-dev.com> <2c6ba2e4-04dc-474b-09b7-c4ab5b6af285@silentrunner.de> From: "Georg H." Message-ID: <3ef61165-9158-3b24-b175-65cd95b632cd@silentrunner.de> Date: Fri, 23 Aug 2019 23:00:10 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------0BD48A83261C94C6041DD2A6"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ChKoaf4UjZNA1iAId+RjZeV1OC6zKIDL582bvuz1YGg= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------0BD48A83261C94C6041DD2A6 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------0BD48A83261C94C6041DD2A6 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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



--------------0BD48A83261C94C6041DD2A6--