Merge pull request #1262 from jeff-h/issue-171

Fixes #353 and allows easier dev & prod environments
This commit is contained in:
Mahmoud Zalt 2017-11-21 22:56:04 +02:00 committed by GitHub
commit 65a8bbc6a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 2 deletions

9
docker-compose.dev.yml Normal file
View File

@ -0,0 +1,9 @@
version: "2"
services:
### Applications Code Container #############################
applications:
volumes:
- ${APPLICATION}:/var/www

View File

@ -6,8 +6,6 @@ services:
applications:
image: tianon/true
volumes:
- ${APPLICATION}:/var/www
### Workspace Utilities Container ###########################

View File

@ -2,6 +2,11 @@
# General Setup
###########################################################
### Docker compose files ###############################################################################################
# Select which docker-compose files to include.
COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml
### Application Path ###################################################################################################
# Point to your code, will be available at `/var/www`.