https://github.com/seralaci/mysql-phpmyadmin-docker-compose
MySQL and phpMyAdmin by Docker Compose
https://github.com/seralaci/mysql-phpmyadmin-docker-compose
docker docker-compose mysql mysql-docker phpmyadmin phpmyadmin-docker
Last synced: about 1 year ago
JSON representation
MySQL and phpMyAdmin by Docker Compose
- Host: GitHub
- URL: https://github.com/seralaci/mysql-phpmyadmin-docker-compose
- Owner: seralaci
- License: mit
- Created: 2023-06-18T10:16:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-18T10:49:38.000Z (almost 3 years ago)
- Last Synced: 2025-01-12T20:11:23.368Z (about 1 year ago)
- Topics: docker, docker-compose, mysql, mysql-docker, phpmyadmin, phpmyadmin-docker
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MySQL and phpMyAdmin by Docker Compose
## Requirements:
* docker >= 17.12.0+
* docker-compose
## Quick Start
* Clone or download this repository
* Go inside of directory, `cd mysql-phpmyadmin-docker-compose`
* Run this command `docker-compose up -d`
## Environments
This Compose file contains the following environment variables:
* `MYSQL_DATABASE` the default value is **yourdatabase**
* `MYSQL_ROOT_PASSWORD` the default value is **setrootpassword**
* `MYSQL_USER` the default value is **dbuser**
* `MYSQL_PASSWORD` the default value is **dbpassword**
* `PHPMYADMIN_PORT` the default value is **6060**
## Access to MySQL:
* `localhost:3306`
* **Username:** dbuser
* **Password:** dbpassword
## Access to phpMyAdmin:
* **URL:** [http://localhost:6060](http://localhost:6060)
* **Server:** mysql
* **Username:** root _or_ dbuser
* **Password:** setrootpassword _or_ dbpassword

## Are you new to MySQL?
[MySQL Database - Full Course](https://www.youtube.com/watch?v=ER8oKX5myE0)