Merge branch 'master' into adding-env-aerospike-rethinkdb-mongodb

This commit is contained in:
Sascha Brendel 2017-05-09 14:07:15 +02:00 committed by GitHub
commit a2058ca6f6
5 changed files with 49 additions and 8 deletions

View File

@ -399,16 +399,15 @@ services:
caddy: caddy:
build: ./caddy build: ./caddy
ports:
- "80:80"
- "443:443"
- "2015:2015"
volumes_from: volumes_from:
- applications - applications
volumes: volumes:
- ./caddy/Caddyfile:/etc/Caddyfile - ${CADDY_CUSTOM_CADDYFILE}:/etc/Caddyfile
- ./logs/caddy:/var/log/caddy - ${CADDY_HOST_LOG_PATH}:/var/log/caddy
- caddy:/root/.caddy - ${DATA_SAVE_PATH}:/root/.caddy
ports:
- "${CADDY_HOST_HTTP_PORT}:80"
- "${CADDY_HOST_HTTPS_PORT}:443"
depends_on: depends_on:
- php-fpm - php-fpm
networks: networks:

View File

@ -68,6 +68,7 @@ PHP_FPM_INSTALL_MYSQLI=false
PHP_FPM_INSTALL_TOKENIZER=false PHP_FPM_INSTALL_TOKENIZER=false
PHP_FPM_INSTALL_INTL=false PHP_FPM_INSTALL_INTL=false
PHP_FPM_INSTALL_GHOSTSCRIPT=false PHP_FPM_INSTALL_GHOSTSCRIPT=false
PHP_FPM_INSTALL_SWOOLE=false
### NGINX ############################################################################################################## ### NGINX ##############################################################################################################
@ -230,6 +231,14 @@ RETHINKDB_PORT=8090
MONGODB_PORT=27017 MONGODB_PORT=27017
### CADDY ##############################################################################################################
CADDY_HOST_HTTP_PORT=80
CADDY_HOST_HTTPS_PORT=443
CADDY_HOST_LOG_PATH=./logs/caddy
CADDY_CUSTOM_CADDYFILE=./caddy/Caddyfile
##### TO BE CONTINUE ................................. ##### TO BE CONTINUE .................................
# ......... Missing: neo4j mongo rethinkdb redis aerospike pgadmin... # ......... Missing: neo4j mongo rethinkdb redis aerospike pgadmin...

View File

@ -92,6 +92,17 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
&& docker-php-ext-enable redis \ && docker-php-ext-enable redis \
;fi ;fi
#####################################
# Swoole EXTENSION FOR PHP 5
#####################################
ARG INSTALL_SWOOLE=false
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
# Install Php Swoole Extension
pecl install swoole \
&& docker-php-ext-enable swoole \
;fi
##################################### #####################################
# MongoDB: # MongoDB:
##################################### #####################################

View File

@ -89,6 +89,17 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
&& docker-php-ext-enable redis \ && docker-php-ext-enable redis \
;fi ;fi
#####################################
# Swoole EXTENSION FOR PHP 7
#####################################
ARG INSTALL_SWOOLE=false
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
# Install Php Swoole Extension
pecl install swoole \
&& docker-php-ext-enable swoole \
;fi
##################################### #####################################
# MongoDB: # MongoDB:
##################################### #####################################

View File

@ -89,6 +89,17 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
&& docker-php-ext-enable redis \ && docker-php-ext-enable redis \
;fi ;fi
#####################################
# Swoole EXTENSION FOR PHP 7
#####################################
ARG INSTALL_SWOOLE=false
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
# Install Php Swoole Extension
pecl install swoole \
&& docker-php-ext-enable swoole \
;fi
##################################### #####################################
# MongoDB: # MongoDB:
##################################### #####################################
@ -166,7 +177,7 @@ RUN if [ ${INSTALL_AEROSPIKE} = true ]; then \
# Fix dependencies for PHPUnit within aerospike extension # Fix dependencies for PHPUnit within aerospike extension
apt-get update -yqq && \ apt-get update -yqq && \
apt-get -y install sudo wget && \ apt-get -y install sudo wget && \
# Install the php aerospike extension # Install the php aerospike extension
curl -L -o /tmp/aerospike-client-php.tar.gz "https://github.com/aerospike/aerospike-client-php/archive/3.4.14.tar.gz" \ curl -L -o /tmp/aerospike-client-php.tar.gz "https://github.com/aerospike/aerospike-client-php/archive/3.4.14.tar.gz" \
&& mkdir -p aerospike-client-php \ && mkdir -p aerospike-client-php \