Re: Docker TLS for PGAdmin

2020-06-26 Thread Omar Francis
Hi Aditya Yes I can get a regular http connection with myip:80 when I run: docker run -p 80:80 -e 'PGADMIN_DEFAULT_EMAIL=someb...@anyemail.com' -e 'PGADMIN_DEFAULT_PASSWORD=userpwd' -e 'PGADMIN_ENABLE_TLS=True' -d dpage/pgadmin4 I was able to do this last week when I first accessed the imag

Re: Docker TLS for PGAdmin

2020-06-26 Thread Aditya Toshniwal
Hi Omar, It looks to be launched successfully. What does 'docker ps' show now ? For me without TLS it shows following and works with 0.0.0.0:80 in the browser: adityatoshniwal@Laptop381pnin pgadmin4_copy % docker ps CONTAINER IDIMAGE COMMAND CREATED STATUS

Re: Docker TLS for PGAdmin

2020-06-26 Thread Omar Francis
Hi Aditya thanks for your help I have given a+rwx to that dir. The container status is now up however I am not getting a pgadmin login screen on my browser when I navigate to publicip:443 Is there a critical connection flaw in the logs below that stops this? Thanks again :) WARNING: Failed to

Re: Docker TLS for PGAdmin

2020-06-26 Thread Aditya Toshniwal
Hi Omar, The logs say there's insufficient permission given to the mapped volume - /private/var/lib/pgadmin. Please go through - https://www.pgadmin.org/docs/pgadmin4/4.23/container_deployment.html#mapped-files-and-directories once and make sure the requirements are satisfied. On Fri, Jun 26, 202

Re: Docker TLS for PGAdmin

2020-06-26 Thread Omar Francis
Hi Aditya Please find the lovs below thanks :) ubuntu@my-ip:~$ docker logs tender_goodall WARNING: Failed to set ACL on the directory containing the configuration database: [Errno 1] Operation not permitted: '/var/lib/pgadmin' Traceback (most recent call last): File "run_pgadmin.py", line

Re: Docker TLS for PGAdmin

2020-06-25 Thread Aditya Toshniwal
Hi Omar, I meant the "docker logs" command. Refer- https://docs.docker.com/engine/reference/commandline/logs/. Run "docker ps -a", grab the container id and user "docker logs ". On Thu, Jun 25, 2020 at 7:03 PM Omar Francis wrote: > Hi Aditya > > Below is the output from when I run it in ubuntu.

Re: Docker TLS for PGAdmin

2020-06-25 Thread Omar Francis
Hi Aditya Below is the output from when I run it in ubuntu. Moments after running docker ps the first time the container exits ubuntu@my-ip:~$ docker run -p 443:443 -v /private/var/lib/pgadmin:/var/lib/pgadmin -v /etc/ssl/certs/server.cert:/certs/server.cert -v /etc/ssl/private/server.key:/ce

Re: Docker TLS for PGAdmin

2020-06-25 Thread Aditya Toshniwal
Hi Omar, Could you please share docker logs ? Might get something helpful there. On Thu, Jun 25, 2020 at 3:29 PM Omar Francis wrote: > > Hi am I emailing the right mailbox? Dave Page advised this was the correct > channel for support on his image. > > Regards > > Omar > > > On 22 Jun 2020, at 0

Re: Docker TLS for PGAdmin

2020-06-25 Thread Omar Francis
Hi am I emailing the right mailbox? Dave Page advised this was the correct channel for support on his image. Regards Omar > On 22 Jun 2020, at 09:38, Omar Francis wrote: > > Hi all > > I am looking to run PGAdmin4 over TLS through a Docker container in a Ubuntu > terminal. I have been abl