From e29fe626e12a76ab5d3395560e5f7ca773a19d47 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 2 Oct 2023 09:36:26 +0300 Subject: [PATCH] enable fpm status page --- .docker/app/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.docker/app/Dockerfile b/.docker/app/Dockerfile index 8cf9591d0..d1320fc27 100644 --- a/.docker/app/Dockerfile +++ b/.docker/app/Dockerfile @@ -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 -e 's/^listen = 127.0.0.1:9000/listen = 9000/' \ -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/;\(php_admin_value\[error_log\]\) = .*/\1 = \/tmp\/error.log/' \ -e 's/;\(php_admin_flag\[log_errors\]\) = .*/\1 = on/' \