commit
a2847316c4
@ -423,6 +423,7 @@ Change MySQL Database Name:
|
|||||||
```yml
|
```yml
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: laradock
|
MYSQL_DATABASE: laradock
|
||||||
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
Change Redis defaut port to 1111:
|
Change Redis defaut port to 1111:
|
||||||
@ -430,6 +431,7 @@ Change Redis defaut port to 1111:
|
|||||||
```yml
|
```yml
|
||||||
ports:
|
ports:
|
||||||
- "1111:6379"
|
- "1111:6379"
|
||||||
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -548,6 +550,7 @@ Since the new Laravel application is in the `my-cool-app` folder, we need to rep
|
|||||||
build: ./application
|
build: ./application
|
||||||
volumes:
|
volumes:
|
||||||
- ../my-cool-app/:/var/www/laravel
|
- ../my-cool-app/:/var/www/laravel
|
||||||
|
...
|
||||||
```
|
```
|
||||||
4 - Go to that folder and start working..
|
4 - Go to that folder and start working..
|
||||||
|
|
||||||
@ -824,11 +827,12 @@ By default **PHP-FPM 7.0** is running.
|
|||||||
|
|
||||||
3 - Change the version number, by replacing `Dockerfile-70` with `Dockerfile-56`, like this:
|
3 - Change the version number, by replacing `Dockerfile-70` with `Dockerfile-56`, like this:
|
||||||
|
|
||||||
```txt
|
```yml
|
||||||
php-fpm:
|
php-fpm:
|
||||||
build:
|
build:
|
||||||
context: ./php-fpm
|
context: ./php-fpm
|
||||||
dockerfile: Dockerfile-70
|
dockerfile: Dockerfile-70
|
||||||
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
4 - Finally rebuild the container
|
4 - Finally rebuild the container
|
||||||
|
Loading…
Reference in New Issue
Block a user