enable fpm status page

This commit is contained in:
Andrew Dolgov 2023-10-02 09:36:26 +03:00
parent b15f185e3d
commit e29fe626e1
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ RUN apk add --no-cache dcron php82 php82-fpm php82-phar php82-sockets php82-pecl
sed -i 's/\(memory_limit =\) 128M/\1 256M/' /etc/php82/php.ini && \ sed -i 's/\(memory_limit =\) 128M/\1 256M/' /etc/php82/php.ini && \
sed -i -e 's/^listen = 127.0.0.1:9000/listen = 9000/' \ sed -i -e 's/^listen = 127.0.0.1:9000/listen = 9000/' \
-e 's/;\(clear_env\) = .*/\1 = no/i' \ -e 's/;\(clear_env\) = .*/\1 = no/i' \
-e 's/;\(pm.status_path = \/status\)/\1/i' \
-e 's/;\(pm.status_listen\) = .*/\1 = 9001/i' \
-e 's/^\(user\|group\) = .*/\1 = app/i' \ -e 's/^\(user\|group\) = .*/\1 = app/i' \
-e 's/;\(php_admin_value\[error_log\]\) = .*/\1 = \/tmp\/error.log/' \ -e 's/;\(php_admin_value\[error_log\]\) = .*/\1 = \/tmp\/error.log/' \
-e 's/;\(php_admin_flag\[log_errors\]\) = .*/\1 = on/' \ -e 's/;\(php_admin_flag\[log_errors\]\) = .*/\1 = on/' \