2016-10-09 22:51:18 +02:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
### Workspace Utilities Container ###########################
|
|
|
|
|
|
|
|
workspace:
|
|
|
|
build:
|
|
|
|
context: ./workspace
|
|
|
|
args:
|
|
|
|
- INSTALL_XDEBUG=false
|
|
|
|
- INSTALL_MONGO=false
|
|
|
|
- INSTALL_NODE=false
|
2016-10-14 03:01:50 +02:00
|
|
|
- INSTALL_YARN=false
|
2016-10-09 22:51:18 +02:00
|
|
|
- INSTALL_DRUSH=false
|
|
|
|
- INSTALL_AEROSPIKE_EXTENSION=false
|
|
|
|
- COMPOSER_GLOBAL_INSTALL=false
|
|
|
|
- INSTALL_WORKSPACE_SSH=false
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- NODE_VERSION=stable
|
|
|
|
volumes_from:
|
|
|
|
- volumes_source
|
|
|
|
ports:
|
|
|
|
- "22:22"
|
|
|
|
tty: true
|
|
|
|
|
|
|
|
### PHP-FPM Container #######################################
|
|
|
|
|
|
|
|
php-fpm:
|
|
|
|
build:
|
|
|
|
context: ./php-fpm
|
|
|
|
args:
|
|
|
|
- INSTALL_XDEBUG=false
|
|
|
|
- INSTALL_MONGO=false
|
|
|
|
- INSTALL_ZIP_ARCHIVE=false
|
|
|
|
- INSTALL_MEMCACHED=false
|
|
|
|
- INSTALL_OPCACHE=false
|
|
|
|
- INSTALL_AEROSPIKE_EXTENSION=false
|
|
|
|
dockerfile: Dockerfile-70
|
|
|
|
volumes_from:
|
|
|
|
- volumes_source
|
|
|
|
expose:
|
|
|
|
- "9000"
|
|
|
|
links:
|
|
|
|
- workspace
|
|
|
|
|
2016-11-01 02:23:40 +01:00
|
|
|
### Application Code Container ######################
|
2016-10-09 22:51:18 +02:00
|
|
|
|
|
|
|
volumes_source:
|
|
|
|
image: tianon/true
|
|
|
|
volumes:
|
2016-11-01 02:23:40 +01:00
|
|
|
- ../:/var/www
|
2016-10-09 22:51:18 +02:00
|
|
|
|
|
|
|
### Databases Data Container ################################
|
|
|
|
|
|
|
|
volumes_data:
|
|
|
|
image: tianon/true
|
|
|
|
volumes:
|
|
|
|
# - ./data/mysql:/var/lib/mysql
|
|
|
|
|
|
|
|
### Add All your Software Containers below ###############################
|