Skip to content

Commit a284731

Browse files
authored
Merge pull request laradock#358 from appleboy/patch-22
convert tab to spaces.
2 parents 89a77be + 9d212af commit a284731

1 file changed

Lines changed: 19 additions & 15 deletions

File tree

README.md

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -421,15 +421,17 @@ Examples:
421421
Change MySQL Database Name:
422422

423423
```yml
424-
environment:
425-
MYSQL_DATABASE: laradock
424+
environment:
425+
MYSQL_DATABASE: laradock
426+
...
426427
```
427428

428429
Change Redis defaut port to 1111:
429430

430431
```yml
431-
ports:
432-
- "1111:6379"
432+
ports:
433+
- "1111:6379"
434+
...
433435
```
434436

435437

@@ -548,6 +550,7 @@ Since the new Laravel application is in the `my-cool-app` folder, we need to rep
548550
build: ./application
549551
volumes:
550552
- ../my-cool-app/:/var/www/laravel
553+
...
551554
```
552555
4 - Go to that folder and start working..
553556

@@ -824,11 +827,12 @@ By default **PHP-FPM 7.0** is running.
824827

825828
3 - Change the version number, by replacing `Dockerfile-70` with `Dockerfile-56`, like this:
826829

827-
```txt
828-
php-fpm:
829-
build:
830-
context: ./php-fpm
831-
dockerfile: Dockerfile-70
830+
```yml
831+
php-fpm:
832+
build:
833+
context: ./php-fpm
834+
dockerfile: Dockerfile-70
835+
...
832836
```
833837

834838
4 - Finally rebuild the container
@@ -994,12 +998,12 @@ To change the timezone for the `workspace` container, modify the `TZ` build argu
994998
For example, if I want the timezone to be `New York`:
995999

9961000
```yml
997-
workspace:
998-
build:
999-
context: ./workspace
1000-
args:
1001-
- TZ=America/New_York
1002-
...
1001+
workspace:
1002+
build:
1003+
context: ./workspace
1004+
args:
1005+
- TZ=America/New_York
1006+
...
10031007
```
10041008

10051009
We also recommend [setting the timezone in Laravel](http://www.camroncade.com/managing-timezones-with-laravel/).

0 commit comments

Comments
 (0)