Updated PHP-FPM container to accept .env variables
This commit is contained in:
parent
fa9ac1e471
commit
c112fdffc1
|
@ -48,18 +48,18 @@ services:
|
|||
build:
|
||||
context: ./php-fpm
|
||||
args:
|
||||
- INSTALL_XDEBUG=false
|
||||
- INSTALL_SOAP=false
|
||||
- INSTALL_MONGO=false
|
||||
- INSTALL_ZIP_ARCHIVE=false
|
||||
- INSTALL_BCMATH=false
|
||||
- INSTALL_PHPREDIS=false
|
||||
- INSTALL_MEMCACHED=false
|
||||
- INSTALL_OPCACHE=false
|
||||
- INSTALL_EXIF=false
|
||||
- INSTALL_AEROSPIKE_EXTENSION=false
|
||||
- CODEIGNITER=false
|
||||
dockerfile: Dockerfile-70
|
||||
- INSTALL_XDEBUG=${PHP_FPM_INSTALL_XDEBUG}
|
||||
- INSTALL_SOAP=${PHP_FPM_INSTALL_SOAP}
|
||||
- INSTALL_MONGO=${PHP_FPM_INSTALL_MONGO}
|
||||
- INSTALL_ZIP_ARCHIVE=${PHP_FPM_INSTALL_ZIP_ARCHIVE}
|
||||
- INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
|
||||
- INSTALL_PHPREDIS=${PHP_FPM_INSTALL_PHPREDIS}
|
||||
- INSTALL_MEMCACHED=${PHP_FPM_INSTALL_MEMCACHED}
|
||||
- INSTALL_OPCACHE=${PHP_FPM_INSTALL_OPCACHE}
|
||||
- INSTALL_EXIF=${PHP_FPM_DOCKER_FILE}
|
||||
- INSTALL_AEROSPIKE_EXTENSION=${PHP_FPM_DOCKER_FILE}
|
||||
- CODEIGNITER=${PHP_FPM_DOCKER_FILE}
|
||||
dockerfile: ${PHP_FPM_DOCKER_FILE}
|
||||
volumes_from:
|
||||
- applications
|
||||
expose:
|
||||
|
|
10
env-example
10
env-example
|
@ -41,18 +41,18 @@ WORKSPACE_SSH_PORT=2222
|
|||
|
||||
|
||||
# PHP_FPM
|
||||
PHP_FPM_BUILD_PATH=./php-fpm
|
||||
PHP_FPM_CONTAINER_NAME=php-fpm
|
||||
PHP_FPM_DOCKER_FILE=Dockerfile-70
|
||||
PHP_FPM_INSTALL_XDEBUG=false
|
||||
PHP_FPM_INSTALL_MONGO=false
|
||||
PHP_FPM_INSTALL_SOAP=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_OPCACHE=false
|
||||
PHP_FPM_INSTALL_EXIF=false
|
||||
PHP_FPM_INSTALL_AEROSPIKE_EXTENSION=false
|
||||
PHP_FPM_CODEIGNITER=false
|
||||
PHP_FPM_IDE_CONFIG=serverName=laravel
|
||||
|
||||
PHP_FPM_CODEIGNITER=falses
|
||||
|
||||
# NGINX
|
||||
NGINX_BUILD_PATH=./nginx
|
||||
|
|
Loading…
Reference in New Issue