Skip to content

Commit b2f47f2

Browse files
authored
add ability to change pm via env var
1 parent 126e55c commit b2f47f2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

8.4/zz-docker.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ listen = {{ .Env.PHP_FPM_LISTEN }}
2929
listen.owner = kool
3030
listen.group = kool
3131

32+
; Choose how the process manager will control the number of child processes.
33+
; Possible Values: static, dynamic, ondemand (check www.conf for full documentation).
34+
; Note: This value is mandatory.
35+
pm = {{ default .Env.PHP_FPM_PM "dynamic" }}
36+
3237
; The number of child processes to be created when pm is set to 'static' and the
3338
; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'.
3439
; This value sets the limit on the number of simultaneous requests that will be

0 commit comments

Comments
 (0)