From 12ba6bbbaef49cd60b4431acd2108c84841b9043 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 24 Aug 2016 14:25:42 +0800 Subject: [PATCH] add phpMyAdmin document. Signed-off-by: Bo-Yi Wu --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 3ac1efc3..d50d6793 100644 --- a/README.md +++ b/README.md @@ -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 +
+ +
+ +### 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`