Added HHVM container and used environment variable for switching
This commit is contained in:
@ -5,7 +5,10 @@ services:
|
||||
### Nginx Server Container ##################################
|
||||
|
||||
nginx:
|
||||
build: ./nginx
|
||||
build:
|
||||
context: ./nginx
|
||||
args:
|
||||
- PHP_UPSTREAM=${PHP_PROCESS_MANAGER}
|
||||
volumes_from:
|
||||
- volumes_source
|
||||
volumes:
|
||||
@ -14,7 +17,7 @@ services:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
links:
|
||||
- php-fpm
|
||||
- ${PHP_PROCESS_MANAGER}
|
||||
|
||||
### PHP-FPM Container #######################################
|
||||
|
||||
@ -29,6 +32,17 @@ services:
|
||||
links:
|
||||
- workspace
|
||||
|
||||
### HHVM Container ##########################################
|
||||
|
||||
hhvm:
|
||||
build: ./hhvm
|
||||
volumes_from:
|
||||
- volumes_source
|
||||
expose:
|
||||
- "9000"
|
||||
links:
|
||||
- workspace
|
||||
|
||||
### MySQL Container #########################################
|
||||
|
||||
mysql:
|
||||
|
Reference in New Issue
Block a user