php-framework/docker/php/php-fpm.conf
Snider 05f03a1ca1
Some checks failed
Code Style / Laravel Pint (push) Failing after 2s
Code Style / PHP CodeSniffer (push) Failing after 1s
Static Analysis / PHPStan (push) Failing after 1s
Static Analysis / Psalm (push) Failing after 2s
Static Analysis / Security Audit (push) Failing after 1s
Static Analysis / PHP Syntax Check (push) Failing after 1s
Tests / PHP 8.2 - Laravel 11.* (push) Failing after 2s
Tests / PHP 8.3 - Laravel 11.* (push) Failing after 2s
Tests / PHP 8.4 - Laravel 11.* (push) Failing after 2s
Tests / PHP 8.4 - Laravel 12.* (push) Failing after 2s
Tests / PHP 8.3 - Laravel 12.* (push) Failing after 2s
feat: add Docker infrastructure from CLI
Move production Docker files from core/cli to their proper home:
- Dockerfile.app: PHP 8.3-FPM with Laravel extensions
- Dockerfile.web: nginx reverse proxy
- docker-compose.prod.yml: full stack (app, web, horizon, scheduler, mcp, redis, galera)
- nginx/: default.conf + security-headers.conf
- php/: opcache.ini + php-fpm.conf

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 21:14:39 +00:00

22 lines
448 B
Text

; Host UK PHP-FPM pool configuration
[www]
pm = dynamic
pm.max_children = 50
pm.start_servers = 10
pm.min_spare_servers = 5
pm.max_spare_servers = 20
pm.max_requests = 1000
pm.process_idle_timeout = 10s
; Status page for health checks
pm.status_path = /fpm-status
ping.path = /fpm-ping
ping.response = pong
; Logging
access.log = /proc/self/fd/2
slowlog = /proc/self/fd/2
request_slowlog_timeout = 5s
; Security
security.limit_extensions = .php