Proof of concept - LaraDock hosting multiple sites
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user