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:
2026-06-17 11:06:07 +02:00
co-authored by Claude Sonnet 4.6
parent 8d33836714
commit 0f943b5a62
+1
View File
@@ -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