fix(coolify): switch PHP-FPM from ondemand to dynamic mode
ondemand kills all workers after 10s idle, causing cold Laravel bootstrap (10-54s) on every request after any quiet period. dynamic keeps min_spare_servers=1 alive at all times; the other PM_* values (start_servers=2, min=1, max_spare=3) were already set but ignored under ondemand. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -23,6 +23,7 @@ services:
|
||||
PUSHER_APP_SECRET: ${PUSHER_APP_SECRET}
|
||||
PUSHER_SCHEME: https
|
||||
SSL_MODE: "off"
|
||||
PHP_FPM_PM_CONTROL: dynamic
|
||||
volumes:
|
||||
- ../.data/coolify/data:/data/coolify
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
Reference in New Issue
Block a user