mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
Add pgAdmin blueprint with Docker Compose and metadata
- Introduced pgAdmin entry in meta.json with relevant details and links. - Added Docker Compose configuration for pgAdmin service. - Included pgAdmin logo and template.toml for configuration settings.
This commit is contained in:
parent
5e53a3a4fc
commit
6401bbdd0a
22
blueprints/pgadmin/docker-compose.yml
Normal file
22
blueprints/pgadmin/docker-compose.yml
Normal file
@ -0,0 +1,22 @@
|
||||
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
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
volumes:
|
||||
pgadmin-data:
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
BIN
blueprints/pgadmin/pgadmin.webp
Normal file
BIN
blueprints/pgadmin/pgadmin.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
22
blueprints/pgadmin/template.toml
Normal file
22
blueprints/pgadmin/template.toml
Normal file
@ -0,0 +1,22 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
admin_email = "${email}"
|
||||
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}"
|
||||
|
||||
[[config.mounts]]
|
||||
filePath = "/var/lib/pgadmin/servers.json"
|
||||
content = """
|
||||
{
|
||||
"Servers": {}
|
||||
}
|
||||
"""
|
17
meta.json
17
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"
|
||||
]
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user