Files
ServerKit/backend/templates/phpmyadmin.yaml
T
Juan Denis f05d056678 Improve port variable handling and add app cleanup CLI
Port variables in templates are now hidden and always auto-generated, never using user-supplied values. The TemplateService's port assignment checks both database and Docker for used ports, and removes obsolete Docker Compose version fields. Adds new CLI commands for cleaning up all applications, performing a factory reset, and listing applications. Minor update to AuthContext to mark setup as complete after registration.
2026-01-19 16:56:57 -05:00

46 lines
974 B
YAML

id: phpmyadmin
name: phpMyAdmin
version: "5.2"
description: Web-based MySQL and MariaDB administration tool
icon: https://www.phpmyadmin.net/static/images/logo.png
website: https://www.phpmyadmin.net
documentation: https://docs.phpmyadmin.net
categories:
- database
- mysql
- management
variables:
- name: HTTP_PORT
description: HTTP port
type: port
default: "8080"
hidden: true
- name: MYSQL_HOST
description: MySQL server host
default: mysql
required: true
- name: MYSQL_PORT
description: MySQL server port
type: port
default: "3306"
hidden: true
ports:
- port: 8080
protocol: tcp
description: Web interface
compose:
services:
phpmyadmin:
image: phpmyadmin:${VERSION:-5.2}
container_name: ${APP_NAME}
restart: unless-stopped
environment:
- PMA_HOST=${MYSQL_HOST}
- PMA_PORT=${MYSQL_PORT}
- UPLOAD_LIMIT=100M
ports:
- "${HTTP_PORT}:80"