coolify/database
Hendrik Kleinwaechter 60d8aba323 feat: configurable stop grace period for applications
Adds stop_grace_period to application settings (seconds, 1-3600, default 30).
Used in place of the hardcoded docker stop -t 30 in the four places that
stop application containers: rolling update shutdown, manual stop, stop on
another server, and preview deployment stop.

Non-positive values fall back to the default via ($val > 0) ? $val : default,
with tests covering 0 and -10 so the cast does not blow up if a bad value
ever lands in the db.

Picks up Jack Coy's work from #7125 which went dormant. His commits are
squashed here with credit below.

Co-authored-by: Jack Coy <jackman3000@gmail.com>
2026-04-22 21:18:18 +02:00
..
factories test(factories): add missing model factories for app test suite 2026-03-03 09:50:05 +01:00
migrations feat: configurable stop grace period for applications 2026-04-22 21:18:18 +02:00
schema test: add Pest browser testing with SQLite :memory: schema 2026-02-11 15:25:47 +01:00
seeders Merge remote-tracking branch 'origin/next' into pr-7764-shadow/add-shared-server-env 2026-03-31 10:52:31 +02:00
.gitignore init of v4 🌮 2023-03-17 15:33:48 +01:00