From: | Omar Francis <omar(dot)francis(at)branchbot(dot)com> |
---|---|
To: | pgadmin-support(at)postgresql(dot)org |
Subject: | Docker TLS for PGAdmin |
Date: | 2020-06-22 08:38:00 |
Message-ID: | 10BA81FD-996A-44AD-88B8-EE86B87A5715@branchbot.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi all
I am looking to run PGAdmin4 over TLS through a Docker container in a Ubuntu terminal. I have been able to run over a simple http connection but when I pass in the arguments below to set up TLS the container ID runs for several seconds before exiting.
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:/certs/server.key \
-v /private/var/lib/pgadmin/servers.json:/pgadmin4/servers.json \
-e 'PGADMIN_DEFAULT_EMAIL=user(at)email(dot)com' \
-e 'PGADMIN_DEFAULT_PASSWORD=userpwd' \
-e 'PGADMIN_ENABLE_TLS=True' \
-d dpage/pgadmin4
I have created the key, certificates required and am pointing to the correct directories. Would anyone who has connected through Docker be able to shed some light?
Thanks
From | Date | Subject | |
---|---|---|---|
Next Message | Marc Pitera | 2020-06-24 15:28:32 | Pgadmin4 not working |
Previous Message | SB Lee | 2020-06-19 00:37:18 | RE: can not move to next line on Query Editor/pgAdmin4 |