Add docker deployment
All checks were successful
build docker image / docker-build (push) Successful in 1m30s
All checks were successful
build docker image / docker-build (push) Successful in 1m30s
This commit is contained in:
parent
2bc2d471ae
commit
d641780b4e
@ -56,6 +56,7 @@ RUN sed -i 's/listen = 127.0.0.1:9000/listen = \/run\/php\/php-fpm.sock/' /usr/l
|
|||||||
&& sed -i 's/;listen.owner = www-data/listen.owner = www-data/' /usr/local/etc/php-fpm.d/www.conf \
|
&& sed -i 's/;listen.owner = www-data/listen.owner = www-data/' /usr/local/etc/php-fpm.d/www.conf \
|
||||||
&& sed -i 's/;listen.group = www-data/listen.group = www-data/' /usr/local/etc/php-fpm.d/www.conf \
|
&& sed -i 's/;listen.group = www-data/listen.group = www-data/' /usr/local/etc/php-fpm.d/www.conf \
|
||||||
&& sed -i 's/;listen.mode = 0660/listen.mode = 0660/' /usr/local/etc/php-fpm.d/www.conf \
|
&& sed -i 's/;listen.mode = 0660/listen.mode = 0660/' /usr/local/etc/php-fpm.d/www.conf \
|
||||||
|
&& echo 'clear_env = no' >> /usr/local/etc/php-fpm.d/www.conf \
|
||||||
&& cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \
|
&& cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \
|
||||||
&& sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 200M/' /usr/local/etc/php/php.ini \
|
&& sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 200M/' /usr/local/etc/php/php.ini \
|
||||||
&& sed -i 's/post_max_size = 8M/post_max_size = 200M/' /usr/local/etc/php/php.ini \
|
&& sed -i 's/post_max_size = 8M/post_max_size = 200M/' /usr/local/etc/php/php.ini \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user