From 781f5ff972e0b834a1afeab621145cfd38195481 Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Mon, 10 Oct 2016 07:32:01 -0400 Subject: [PATCH] add missing info to the readme --- README.md | 3 +++ docker-compose.yml | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9186b70c..1f044a08 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,8 @@ Note: In this case the folder structure will be like this (recommended): - laradock ``` +
+ **B)** If you don't have a Laravel project, and you want to install Laravel from Docker, clone this repo anywhere on your machine: ```bash @@ -243,6 +245,7 @@ Note: In this case the folder structure will be like this: - project2 ``` +**Note:** if you are using this folder structure don't forget to edit the `docker-compose.yml` file to map to your Laravel directory once you have it (example: `- ../project1/:/var/www/laravel`). "You will need to stop and re-run your docker-compose command for the changes to take place". ## Usage diff --git a/docker-compose.yml b/docker-compose.yml index aa26e5cd..f9c86327 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -291,9 +291,6 @@ services: image: tianon/true volumes: - ../:/var/www/laravel - # Demonstration of how to mount multiple sites - # - ../../site_a/:/var/www/site_a - # - ../../site_b/:/var/www/site_b ### Databases Data Container ################################