add phpMyAdmin document.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-08-24 14:25:42 +08:00
parent 9fb50b2c6b
commit 12ba6bbbae

View File

@ -52,6 +52,8 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
- [Start/Stop xDebug](#Controll-xDebug)
- [Production](#Production)
- [Setup Laravel and Docker on Digital Ocean](#Digital-Ocean)
- [Database](#Database)
- [Use phpMyAdmin](#Use-phpMyAdmin)
- [Misc](#Misc)
- [Use custom Domain](#Use-custom-Domain)
- [Enable Global Composer Build Install](#Enable-Global-Composer-Build-Install)
@ -868,10 +870,23 @@ To controll the behavior of xDebug (in the `php-fpm` Container), you can run the
<br>
<a name="Database"></a>
<br>
<a name="Use-phpMyAdmin"></a>
### Use phpMyAdmin
1 - First make sure you run the phpMyAdmin Container (`phpmyadmin`) with the `docker-compose up` command.
```bash
# use mysql
docker-compose up -d mysql phpmyadmin
# use mariadb
docker-compose up -d mariadb phpmyadmin
```
2 - Open your browser and visit the localhost: `http://localhost:8080`