File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -421,15 +421,17 @@ Examples:
421421Change MySQL Database Name:
422422
423423``` yml
424- environment :
425- MYSQL_DATABASE : laradock
424+ environment :
425+ MYSQL_DATABASE : laradock
426+ ...
426427```
427428
428429Change 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```
5525554 - Go to that folder and start working..
553556
@@ -824,11 +827,12 @@ By default **PHP-FPM 7.0** is running.
824827
8258283 - 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
8348384 - Finally rebuild the container
@@ -994,12 +998,12 @@ To change the timezone for the `workspace` container, modify the `TZ` build argu
994998For 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
10051009We also recommend [ setting the timezone in Laravel] ( http://www.camroncade.com/managing-timezones-with-laravel/ ) .
You can’t perform that action at this time.
0 commit comments