Updated PHP-FPM container to accept .env variables

This commit is contained in:
Marius van Zundert 2017-02-27 14:05:47 +01:00
parent fa9ac1e471
commit c112fdffc1
2 changed files with 17 additions and 17 deletions

View File

@ -48,18 +48,18 @@ services:
build: build:
context: ./php-fpm context: ./php-fpm
args: args:
- INSTALL_XDEBUG=false - INSTALL_XDEBUG=${PHP_FPM_INSTALL_XDEBUG}
- INSTALL_SOAP=false - INSTALL_SOAP=${PHP_FPM_INSTALL_SOAP}
- INSTALL_MONGO=false - INSTALL_MONGO=${PHP_FPM_INSTALL_MONGO}
- INSTALL_ZIP_ARCHIVE=false - INSTALL_ZIP_ARCHIVE=${PHP_FPM_INSTALL_ZIP_ARCHIVE}
- INSTALL_BCMATH=false - INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
- INSTALL_PHPREDIS=false - INSTALL_PHPREDIS=${PHP_FPM_INSTALL_PHPREDIS}
- INSTALL_MEMCACHED=false - INSTALL_MEMCACHED=${PHP_FPM_INSTALL_MEMCACHED}
- INSTALL_OPCACHE=false - INSTALL_OPCACHE=${PHP_FPM_INSTALL_OPCACHE}
- INSTALL_EXIF=false - INSTALL_EXIF=${PHP_FPM_DOCKER_FILE}
- INSTALL_AEROSPIKE_EXTENSION=false - INSTALL_AEROSPIKE_EXTENSION=${PHP_FPM_DOCKER_FILE}
- CODEIGNITER=false - CODEIGNITER=${PHP_FPM_DOCKER_FILE}
dockerfile: Dockerfile-70 dockerfile: ${PHP_FPM_DOCKER_FILE}
volumes_from: volumes_from:
- applications - applications
expose: expose:

View File

@ -41,18 +41,18 @@ WORKSPACE_SSH_PORT=2222
# PHP_FPM # PHP_FPM
PHP_FPM_BUILD_PATH=./php-fpm
PHP_FPM_CONTAINER_NAME=php-fpm
PHP_FPM_DOCKER_FILE=Dockerfile-70 PHP_FPM_DOCKER_FILE=Dockerfile-70
PHP_FPM_INSTALL_XDEBUG=false PHP_FPM_INSTALL_XDEBUG=false
PHP_FPM_INSTALL_MONGO=false PHP_FPM_INSTALL_MONGO=false
PHP_FPM_INSTALL_SOAP=false
PHP_FPM_INSTALL_ZIP_ARCHIVE=false PHP_FPM_INSTALL_ZIP_ARCHIVE=false
PHP_FPM_INSTALL_BCMATH=false
PHP_FPM_INSTALL_PHPREDIS=false
PHP_FPM_INSTALL_MEMCACHED=false PHP_FPM_INSTALL_MEMCACHED=false
PHP_FPM_INSTALL_OPCACHE=false PHP_FPM_INSTALL_OPCACHE=false
PHP_FPM_INSTALL_EXIF=false
PHP_FPM_INSTALL_AEROSPIKE_EXTENSION=false PHP_FPM_INSTALL_AEROSPIKE_EXTENSION=false
PHP_FPM_CODEIGNITER=false PHP_FPM_CODEIGNITER=falses
PHP_FPM_IDE_CONFIG=serverName=laravel
# NGINX # NGINX
NGINX_BUILD_PATH=./nginx NGINX_BUILD_PATH=./nginx