replace the phpmyadmin guide in the readme
This commit is contained in:
parent
f2aea63d64
commit
509cb9ac2e
43
README.md
43
README.md
|
@ -44,6 +44,7 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
|
||||||
- [Run Artisan Commands](#Run-Artisan-Commands)
|
- [Run Artisan Commands](#Run-Artisan-Commands)
|
||||||
- [Use Redis](#Use-Redis)
|
- [Use Redis](#Use-Redis)
|
||||||
- [Use Mongo](#Use-Mongo)
|
- [Use Mongo](#Use-Mongo)
|
||||||
|
- [Use phpMyAdmin](#Use-phpMyAdmin)
|
||||||
- [PHP](#PHP)
|
- [PHP](#PHP)
|
||||||
- [Install PHP Extensions](#Install-PHP-Extensions)
|
- [Install PHP Extensions](#Install-PHP-Extensions)
|
||||||
- [Change the PHP-FPM Version](#Change-the-PHP-FPM-Version)
|
- [Change the PHP-FPM Version](#Change-the-PHP-FPM-Version)
|
||||||
|
@ -52,8 +53,6 @@ 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)
|
||||||
|
@ -704,6 +703,26 @@ More details about this [here](https://github.com/jenssegers/laravel-mongodb#ins
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br>
|
||||||
|
<a name="Use-phpMyAdmin"></a>
|
||||||
|
### Use phpMyAdmin
|
||||||
|
|
||||||
|
1 - Run the phpMyAdmin Container (`phpmyadmin`) with the `docker-compose up` command. Example:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# use with mysql
|
||||||
|
docker-compose up -d mysql phpmyadmin
|
||||||
|
|
||||||
|
# use with mariadb
|
||||||
|
docker-compose up -d mariadb phpmyadmin
|
||||||
|
```
|
||||||
|
|
||||||
|
2 - Open your browser and visit the localhost on port **8080**: `http://localhost:8080`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<a name="PHP"></a>
|
<a name="PHP"></a>
|
||||||
|
|
||||||
|
@ -870,26 +889,6 @@ 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`
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<a name="Misc"></a>
|
<a name="Misc"></a>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue