dever 4 years ago
parent
commit
4c31f7abe7

+ 1 - 3
container/conf/web/php7/conf.d/10_redis.ini

@@ -1,3 +1 @@
-;extension=redis.so
-;extension=libSADKExtension.so.3.4.0.1
-extension=exif.so
+extension=redis.so

+ 1 - 2
src/docker/build/web/nginx/concat/Dockerfile

@@ -10,9 +10,8 @@ RUN apk add --no-cache --update git curl pcre-dev openssl-dev gcc g++ make && \
 	tar -zxvf nginx-${NGINX_VERSION}.tar.gz && \
 	rm -rf nginx-${NGINX_VERSION}.tar.gz && \
 	git clone https://github.com/alibaba/nginx-http-concat && \
+	sed -i "s/application\/x-javascript/application\/javascript/g" /nginx-http-concat/ngx_http_concat_module.c && \
 	cd nginx-${NGINX_VERSION} && \
-	nginx-http-concat/ngx_http_concat_module.c
-	sed -i "s/application\/x-javascript/application\/javascript/g" /nginx-http-concat/ngx_http_concat_module.c
 	./configure --add-module=/nginx-http-concat --prefix=/var/lib/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --pid-path=/run/nginx/nginx.pid --lock-path=/run/nginx/nginx.lock --http-client-body-temp-path=/var/lib/nginx/tmp/client_body --http-proxy-temp-path=/var/lib/nginx/tmp/proxy --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi --http-uwsgi-temp-path=/var/lib/nginx/tmp/uwsgi --http-scgi-temp-path=/var/lib/nginx/tmp/scgi --user=nginx --group=nginx --with-http_dav_module --with-http_ssl_module --with-http_stub_status_module --with-http_gzip_static_module --with-http_v2_module --with-http_auth_request_module --with-mail --with-mail_ssl_module && \
 	make && make install && \
 	adduser -S nginx && \

+ 1 - 0
src/docker/conf/web.conf

@@ -37,6 +37,7 @@ alias = php,composer,pecl,apk,/install.sh->phpInstall
 
 [php7]
 #port = 8082:8080
+port = 1238:1238,8282:8282
 #image = php7_swoole
 port = 2346:2346,1236:1236,1237:1237,1238:1238,8282:8282
 volumes = {container}web:/www,{container}conf/web/php7:/etc/php7