Self-host phpMyAdmin on a VPS
A web-based admin tool for MySQL and MariaDB, built for ad-hoc use against any reachable database.
levelrail-cli templates deploy phpmyadmin --name my-phpmyadminSpecification
- Status
- Verified on arm64 with image tag 5.2.2
- Category
- Database Tools
- Services
- phpmyadmin
- Ports
- 80
- Volumes
- 0
- Memory
- about 256 MiB
- arm64
- tested
- amd64
- image published
- Settings to fill in
- none
- License
- Copyleft license, GPL-2.0-only
About phpMyAdmin
A web-based admin tool for MySQL and MariaDB, built for ad-hoc use against any reachable database. Runs as a single container from the phpmyadmin image, listening on port 80.
What it deploys
phpMyAdmin runs as one service in a single Compose app, listening on port 80.
| Service | Image | Tag | Ports | Volumes |
|---|---|---|---|---|
| phpmyadmin | phpmyadmin | 5.2.2 | 80 | none |
Before you install
- CPU architecture. arm64 listed. Every image lists linux/arm64 in its registry manifest. That is a manifest fact, not proof the app runs on Arm.
- Verified. Verified on arm64 with image tag 5.2.2. Verified means our CI ran this exact image version and it answered on its health path. Evidence
- Host ports. It publishes port 80 directly on the host, so open them in the VPS firewall only if you want that.
Settings and environment
You do not have to fill in anything. Values are never shown here.
| Service | Variable | Value |
|---|---|---|
| phpmyadmin | PMA_ARBITRARY | Preset by the template |
| phpmyadmin | UPLOAD_LIMIT | Preset by the template |
Install phpMyAdmin on a VPS
-
Install Levelrail on a fresh VPS
Run this as root on a Linux server (amd64 or arm64) with ports 80 and 443 reachable. The installer prints a setup link.
curl -fsSL https://levelrail.com/install.sh | sudo sh -
Sign in
Open the setup link, choose a password, then log the CLI in. The CLI install command is
curl -fsSL https://levelrail.com/install-cli.sh | shif the machine does not have it. See Getting started.levelrail-cli login --device -
Read the template
Shows the entry, including its full compose.yaml.
levelrail-cli templates get phpmyadmin -
Deploy it
This deploys the template compose file as an app. The app name defaults to the template id; --name sets another.
levelrail-cli templates deploy phpmyadmin --name my-phpmyadmin
Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then phpMyAdmin.
Docs and upstream
More in Database Tools
- pgvector PostgresPostgreSQL 17 with the pgvector extension preinstalled, for embeddings next to your relational data.
- pgAdminA full-featured web GUI for administering and querying PostgreSQL databases.
- PG Back WebA web UI for scheduling, encrypting, and restoring PostgreSQL backups.
- PostgreSQLThe PostgreSQL relational database server on the official Alpine image, with a persistent volume and a generated password. It is not published on the host, so reach it from other services in this project at postgres:5432.
- PostgreSQL with pgwebA PostgreSQL 17 server paired with the pgweb browser console, already wired together. The database is not published on the host, so other services in this project reach it at db:5432. pgweb opens straight into the database with the generated credentials, so keep its address private.
- OrientDBA multi model database for graphs and documents with the Studio web console, a generated root password and data volumes. The binary protocol port 2424 stays private.