Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1.73 KB

README.md

File metadata and controls

45 lines (27 loc) · 1.73 KB

tozd/phpmyadmin

https://gitlab.com/tozd/docker/phpmyadmin

Available as:

Image inheritance

tozd/basetozd/dinittozd/nginxtozd/nginx-mailertozd/nginx-crontozd/phptozd/phpmyadmin

Tags

  • latest: phpMyAdmin v5.1.1

Variables

  • PHPMYADMIN_HOST: Hostname of the database to connect to., Default is mysql.
  • PHPMYADMIN_PORT: Port of the database to connect to. Default is 3306.

Description

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.

GitHub mirror

There is also a read-only GitHub mirror available, if you need to fork the project there.