Proof of concept - LaraDock hosting multiple sites

This commit is contained in:
larryeitel
2016-08-15 15:14:05 -06:00
parent 28b4077a49
commit 93504a714d
7 changed files with 73 additions and 2 deletions

View File

@ -203,6 +203,17 @@ services:
volumes:
- ../:/var/www/laravel
# By default, site_a and site_b are mirroring the parent Laravel app.
# This is because the nginx container has these domains
# enabled to demonstrate how to support multiple sites
- ../:/var/www/site_a
- ../:/var/www/site_b
# This demonstrates example of where you may mount sites
# - ../../site_a/:/var/www/site_a
# - ../../site_b/:/var/www/site_b
### Databases Data Container ################################
volumes_data: