From b2f47f256ab8f0a6a819466c8dd6528a5ced5916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabr=C3=ADcio=20Jos=C3=A9=20Souza?= <1116377+fabriciojs@users.noreply.github.com> Date: Wed, 16 Apr 2025 09:44:25 -0300 Subject: [PATCH] add ability to change `pm` via env var --- 8.4/zz-docker.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/8.4/zz-docker.conf b/8.4/zz-docker.conf index c6988a1..92e5de5 100644 --- a/8.4/zz-docker.conf +++ b/8.4/zz-docker.conf @@ -29,6 +29,11 @@ listen = {{ .Env.PHP_FPM_LISTEN }} listen.owner = kool listen.group = kool +; Choose how the process manager will control the number of child processes. +; Possible Values: static, dynamic, ondemand (check www.conf for full documentation). +; Note: This value is mandatory. +pm = {{ default .Env.PHP_FPM_PM "dynamic" }} + ; The number of child processes to be created when pm is set to 'static' and the ; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'. ; This value sets the limit on the number of simultaneous requests that will be