mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
Merge pull request #50 from Dokploy/feat/add-pgadmin
Add pgAdmin blueprint with Docker Compose and metadata
This commit is contained in:
commit
e57c7cac96
16
blueprints/pgadmin/docker-compose.yml
Normal file
16
blueprints/pgadmin/docker-compose.yml
Normal file
@ -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:
|
BIN
blueprints/pgadmin/pgadmin.webp
Normal file
BIN
blueprints/pgadmin/pgadmin.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
15
blueprints/pgadmin/template.toml
Normal file
15
blueprints/pgadmin/template.toml
Normal file
@ -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}"
|
||||||
|
|
17
meta.json
17
meta.json
@ -1875,5 +1875,22 @@
|
|||||||
"workflow",
|
"workflow",
|
||||||
"nextjs"
|
"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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
Loading…
Reference in New Issue
Block a user