From 11786278e762d198caaf50aaa2866924f9feb6c6 Mon Sep 17 00:00:00 2001 From: ShadowArcanist Date: Mon, 8 Sep 2025 16:48:27 +0530 Subject: [PATCH 1/2] Added pgAdmin one click service --- templates/compose/pgadmin.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 templates/compose/pgadmin.yaml diff --git a/templates/compose/pgadmin.yaml b/templates/compose/pgadmin.yaml new file mode 100644 index 000000000..4192a5792 --- /dev/null +++ b/templates/compose/pgadmin.yaml @@ -0,0 +1,23 @@ +# documentation: https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html +# slogan: pgAdmin is a web-based database management tool for administering your PostgreSQL databases through a user-friendly interface. +# category: database +# tags: database management +# logo: svgs/postgresql.svg +# port: 80 + +services: + pgadmin: + image: 'dpage/pgadmin4:latest' + container_name: pgadmin + restart: unless-stopped + environment: + - SERVICE_URL_PGADMIN + - 'PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL:?}' + - 'PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD:?}' + volumes: + - pgadmin-data:/var/lib/pgadmin + healthcheck: + test: ["CMD", "wget", "-qO-", "http://localhost:80/login"] + interval: 5s + timeout: 10s + retries: 5 \ No newline at end of file From db056b3af12192ee1c7ff858d5d3fb1b0099719c Mon Sep 17 00:00:00 2001 From: ShadowArcanist <162910371+ShadowArcanist@users.noreply.github.com> Date: Tue, 9 Sep 2025 22:48:07 +0530 Subject: [PATCH 2/2] Removed restart policy and container name on pgAdmin Service Template --- templates/compose/pgadmin.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/compose/pgadmin.yaml b/templates/compose/pgadmin.yaml index 4192a5792..bb447662e 100644 --- a/templates/compose/pgadmin.yaml +++ b/templates/compose/pgadmin.yaml @@ -8,8 +8,6 @@ services: pgadmin: image: 'dpage/pgadmin4:latest' - container_name: pgadmin - restart: unless-stopped environment: - SERVICE_URL_PGADMIN - 'PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL:?}' @@ -20,4 +18,4 @@ services: test: ["CMD", "wget", "-qO-", "http://localhost:80/login"] interval: 5s timeout: 10s - retries: 5 \ No newline at end of file + retries: 5