Merge pull request #250 from appleboy/patch-3

add phpMyAdmin document.
This commit is contained in:
Mahmoud Zalt 2016-08-25 00:10:52 +03:00 committed by GitHub
commit f2aea63d64

View File

@ -52,6 +52,8 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
- [Start/Stop xDebug](#Controll-xDebug) - [Start/Stop xDebug](#Controll-xDebug)
- [Production](#Production) - [Production](#Production)
- [Setup Laravel and Docker on Digital Ocean](#Digital-Ocean) - [Setup Laravel and Docker on Digital Ocean](#Digital-Ocean)
- [Database](#Database)
- [Use phpMyAdmin](#Use-phpMyAdmin)
- [Misc](#Misc) - [Misc](#Misc)
- [Use custom Domain](#Use-custom-Domain) - [Use custom Domain](#Use-custom-Domain)
- [Enable Global Composer Build Install](#Enable-Global-Composer-Build-Install) - [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`