@@ -57,10 +57,10 @@ LaraDock strives to make the development experience easier.
It contains pre-packaged Docker Images that provides you a wonderful development environment without requiring you to install PHP, NGINX, MySQL, REDIS, and any other software on your local machine.
**Usage Overview:** Run `NGINX` and `MySQL`.
**Usage Overview:** Run `NGINX`, `MySQL` and `Redis`.
For more about this check out this [link](https://laravel.com/docs/master#installing-laravel).
5 - Edit `docker-compose.yml` to Map the new application path:
By default LaraDock assumes the Laravel application is living in the parent directory of the laradock folder.
Since the new Laravel application is in the `my-cool-app` folder, we should replace `../:/var/www/laravel` with `../my-cool-app/:/var/www/laravel`, as follow:
Since the new Laravel application is in the `my-cool-app` folder, we need to replace `../:/var/www/laravel` with `../my-cool-app/:/var/www/laravel`, as follow:
```yaml
application:
...
...
@@ -208,7 +208,8 @@ Since the new Laravel application is in the `my-cool-app` folder, we should repl
volumes:
-../my-cool-app/:/var/www/laravel
```
6 - finally go to the Usage section below again and do steps 2 and 4.
6 - finally go to the Usage section below again and do steps 2 and 5.
...
...
@@ -231,22 +232,34 @@ DB_HOST=xxx.xxx.xxx.xxx
[How to find my Docker IP Address?](#Find-Docker-IP-Address)
<br>
3 - Run the Containers, (you can select the software's (containers) that you wish to run)
3 - Run the Containers, (you can select the containers that you wish to run)
<br>
*Make sure you are in the `laradock` folder before running the `docker-compose` command.*
**Example:** Running NGINX, MySQL, Redis and the Workspace:
**Example:** Running NGINX, MySQL and Redis:
```bash
docker-compose up -d nginx mysql redis workspace
docker-compose up -d nginx mysql redis
```
*Note: the PHP-FPM, Application and Data Containers will automatically run.*
*Note: the PHP-FPM, Workspace, Application and Data Containers will automatically run.*