change app mapping directory from www/laravel to www

also add sample to show facilitate setup for multiple sites
This commit is contained in:
Mahmoud Zalt 2016-10-31 19:49:48 -04:00
parent 28130c5907
commit 739cc31f4c

View File

@ -2,6 +2,14 @@ version: '2'
services:
### Applications Code Container ######################
volumes_source:
image: tianon/true
volumes:
- ../:/var/www
# - ../sample/:/var/www/sample
### Workspace Utilities Container ###########################
workspace:
@ -288,19 +296,13 @@ services:
links:
- php-fpm
### Laravel Application Code Container ######################
volumes_source:
image: tianon/true
volumes:
- ../:/var/www/laravel
### Databases Data Container ################################
volumes_data:
image: tianon/true
volumes:
- ./data/mysql:/var/lib/mysql
- ./databases:/docker-entrypoint-initdb.d
- ./data/postgres:/var/lib/postgresql/data
- ./data/memcached:/var/lib/memcached
- ./data/redis:/data