server-php: - Add nginx.conf, fpm-pool.conf.template, supervisord.conf - Add php.ini.template, php-prod.ini, php-dev.ini - Add opcache-prod.ini, xdebug.ini - Add nginx-performance.conf for production - Add entrypoint.sh script developer: - Remove git-delta (not available in Alpine 3.22 repos) Closes #3 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
43 lines
No EOL
993 B
Text
43 lines
No EOL
993 B
Text
[global]
|
|
; Log to stderr
|
|
error_log = /dev/stderr
|
|
|
|
[www]
|
|
; User and group for PHP-FPM processes
|
|
user = nobody
|
|
group = nobody
|
|
|
|
; The address on which to accept FastCGI requests.
|
|
listen = /run/php-fpm.sock
|
|
|
|
; Set permissions for unix socket
|
|
listen.owner = nobody
|
|
listen.group = nobody
|
|
listen.mode = 0666
|
|
|
|
; Enable status page
|
|
pm.status_path = /fpm-status
|
|
|
|
; Ondemand process manager
|
|
pm = ondemand
|
|
|
|
; The maximum number of child processes
|
|
pm.max_children = 100
|
|
|
|
; The number of seconds after which an idle process will be killed.
|
|
pm.process_idle_timeout = 10s
|
|
|
|
; The number of requests each child process should execute before respawning.
|
|
pm.max_requests = 1000
|
|
|
|
; Make sure the FPM workers can reach the environment variables for configuration
|
|
clear_env = no
|
|
|
|
; Catch output from PHP
|
|
catch_workers_output = yes
|
|
|
|
; Remove the 'child 10 said into stderr' prefix in the log and only show the actual message
|
|
decorate_workers_output = no
|
|
|
|
; Enable ping page to use in healthcheck
|
|
ping.path = /fpm-ping |