Docker (docker-compose.yml) for Wordpress, MariaDB and phpMyAdmin
This will run phpMyAdmin with arbitrary server - allowing you to specify MySQL/MariaDB server on login page.
Using the docker-compose.yml from https://github.com/phpmyadmin/docker
docker-compose up -d
MYSQL_ROOT_PASSWORD
- define root password of the MySQL server.MYSQL_DATABASE
- define database name of the MySQL server.MYSQL_USER
- define user name of the MySQL server.MYSQL_PASSWORD
- define user password of the MySQL server.
VIRTUAL_HOST
- define virtual host of the Wordpress website.VIRTUAL_PORT
- define virtual port of the Wordpress website.WORDPRESS_DB_HOST
- define Mysql address/host of the Wordpress website.WORDPRESS_DB_NAME
- define database name of the Wordpress website.WORDPRESS_TABLE_PREFIX
- define database prefix of the Wordpress website.WORDPRESS_DB_PASSWORD
- define database password of the Wordpress website.
PMA_ARBITRARY
- when set to 1 connection to the arbitrary server will be allowedPMA_HOST
- define address/host name of the MySQL server