Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Added pgAdmin one click service

ShadowArcanist11786278e762
diff --git a/templates/compose/pgadmin.yaml b/templates/compose/pgadmin.yaml
new file mode 100644
index 0000000000..4192a57921
--- /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