diff --git a/blueprints/pgadmin/docker-compose.yml b/blueprints/pgadmin/docker-compose.yml new file mode 100644 index 0000000..84e7b1a --- /dev/null +++ b/blueprints/pgadmin/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3.8' + +services: + pgadmin: + image: dpage/pgadmin4:latest + restart: unless-stopped + environment: + - PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL} + - PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD} + - PGADMIN_CONFIG_SERVER_MODE=False + - PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED=False + volumes: + - pgadmin-data:/var/lib/pgadmin + +volumes: + pgadmin-data: diff --git a/blueprints/pgadmin/pgadmin.webp b/blueprints/pgadmin/pgadmin.webp new file mode 100644 index 0000000..e68e02e Binary files /dev/null and b/blueprints/pgadmin/pgadmin.webp differ diff --git a/blueprints/pgadmin/template.toml b/blueprints/pgadmin/template.toml new file mode 100644 index 0000000..ba151f9 --- /dev/null +++ b/blueprints/pgadmin/template.toml @@ -0,0 +1,15 @@ +[variables] +main_domain = "${domain}" +admin_email = "user@example.com" +admin_password = "${password:16}" + +[config] +[[config.domains]] +serviceName = "pgadmin" +port = 80 +host = "${main_domain}" + +[config.env] +PGADMIN_DEFAULT_EMAIL = "${admin_email}" +PGADMIN_DEFAULT_PASSWORD = "${admin_password}" + diff --git a/meta.json b/meta.json index 711ce94..8fca5f2 100644 --- a/meta.json +++ b/meta.json @@ -1875,5 +1875,22 @@ "workflow", "nextjs" ] + }, + { + "id": "pgadmin", + "name": "pgAdmin", + "version": "8.3", + "description": "pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.", + "links": { + "github": "https://github.com/pgadmin-org/pgadmin4", + "website": "https://www.pgadmin.org/", + "docs": "https://www.pgadmin.org/docs/" + }, + "logo": "pgadmin.webp", + "tags": [ + "database", + "postgres", + "admin" + ] } ] \ No newline at end of file