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 ################################