From 39c8e36765f6c0b190f447b741f5c6142d0eee8e Mon Sep 17 00:00:00 2001 From: pxp9 <48651252+pxp9@users.noreply.github.com> Date: Mon, 18 Sep 2023 21:15:44 +0200 Subject: [PATCH] pgadmin container --- instancia_omop_postgresql/.env | 3 +++ instancia_omop_postgresql/Makefile | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 instancia_omop_postgresql/.env diff --git a/instancia_omop_postgresql/.env b/instancia_omop_postgresql/.env new file mode 100644 index 0000000..8acbdb3 --- /dev/null +++ b/instancia_omop_postgresql/.env @@ -0,0 +1,3 @@ +POSTGRES_DB=postgres +POSTGRES_USER=postgres +POSTGRES_PASSWORD=postgres diff --git a/instancia_omop_postgresql/Makefile b/instancia_omop_postgresql/Makefile index 3104ecb..59783b3 100644 --- a/instancia_omop_postgresql/Makefile +++ b/instancia_omop_postgresql/Makefile @@ -7,3 +7,10 @@ db: stop: docker kill postgres + + +pgadmin: + docker run -p 80:80 \ + -e 'PGADMIN_DEFAULT_EMAIL=user@domain.com' \ + -e 'PGADMIN_DEFAULT_PASSWORD=SuperSecret' \ + -d dpage/pgadmin4 -- 2.24.1