- docker >= 17.12.0+
- docker-compose
- Clone or download this repository
- Go inside of directory,
cd mysql-phpmyadmin-docker-compose - Run this command
docker-compose up -d
This Compose file contains the following environment variables:
MYSQL_DATABASEthe default value is yourdatabaseMYSQL_ROOT_PASSWORDthe default value is setrootpasswordMYSQL_USERthe default value is dbuserMYSQL_PASSWORDthe default value is dbpasswordPHPMYADMIN_PORTthe default value is 6060
localhost:3306- Username: dbuser
- Password: dbpassword
- URL: http://localhost:6060
- Server: mysql
- Username: root or dbuser
- Password: setrootpassword or dbpassword
