Update index.md

This commit is contained in:
Viktor Matushevskyi 2017-05-13 20:51:19 +03:00 committed by GitHub
parent c85fd97e00
commit 35efcc4a7c
1 changed files with 6 additions and 2 deletions

View File

@ -55,6 +55,10 @@ $root@server:~/laravel/ cd laradock
$root@server:~/laravel/laradock# curl -L https://github.com/docker/compose/releases/download/1.8.0/run.sh > /usr/local/bin/docker-compose $root@server:~/laravel/laradock# curl -L https://github.com/docker/compose/releases/download/1.8.0/run.sh > /usr/local/bin/docker-compose
$root@server:~/chmod +x /usr/local/bin/docker-compose $root@server:~/chmod +x /usr/local/bin/docker-compose
``` ```
## Enter the laradock folder and rename env-example to .env.
```
$root@server:~/laravel/laradock# cp env-example .env
```
## Create Your Laradock Containers ## Create Your Laradock Containers
@ -138,8 +142,8 @@ And add `server_name` (your custom domain)
## Rebuild Your Nginx ## Rebuild Your Nginx
``` ```
$root@server:~/laravel/laradock/nginx# docker-compose down $root@server:~/laravel/laradock# docker-compose down
$root@server:~/laravel/laradock/nginx# docker-compose build nginx $root@server:~/laravel/laradock# docker-compose build nginx
``` ```
## Re Run Your Containers MYSQL and NGINX ## Re Run Your Containers MYSQL and NGINX