Levelrail
Skip to content

Self-host phpMyAdmin with Docker ​

A web-based admin tool for MySQL and MariaDB, built for ad-hoc use against any reachable database.

This page describes the Levelrail template for phpMyAdmin (Database Tools). It deploys the services below as one Docker Compose app on your own server.

Project site: https://www.phpmyadmin.net/docs/.

Recommended memory: about 256 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
phpmyadminphpmyadmin:5.2.280none

Environment variables ​

ServiceVariableValue
phpmyadminPMA_ARBITRARYPreset in the template
phpmyadminUPLOAD_LIMITPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy phpMyAdmin with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select phpMyAdmin. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy phpmyadmin --name my-phpmyadmin

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Database Tools templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.