https://gitlab.com/tozd/docker/phpmyadmin
Available as:
tozd/base
← tozd/dinit
← tozd/nginx
← tozd/nginx-mailer
← tozd/nginx-cron
← tozd/php
← tozd/phpmyadmin
latest
: phpMyAdmin v5.1.1
PHPMYADMIN_HOST
: Hostname of the database to connect to., Default ismysql
.PHPMYADMIN_PORT
: Port of the database to connect to. Default is 3306.
Image provides phpMyAdmin.
When the container runs phpMyAdmin is available at /phpmyadmin/
URL.
By default it is intended to be used for a installation-wide web admin where each user sees databases they have access to, but you can configure it differently, too (you can mount a
volume or extend the image to add .php
configuration files to /etc/phpmyadmin/conf.d
).
To configure to which database to connect use environment variables.
You should add blowfish_secret.inc.php
file to /etc/phpmyadmin/conf.d
with contents like:
<?php
$cfg['blowfish_secret'] = 'at least 32 random characters secret';
Without the file, pypMyAdmin will use one baked and shared in the Docker image.
There is also a read-only GitHub mirror available, if you need to fork the project there.