coolify/app/Livewire/Project/Application
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
..
Deployment feat(logs): Add loading indicator to download all logs buttons 2026-01-02 12:04:17 +01:00
Preview feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
Advanced.php feat: configurable stop grace period for applications 2026-04-22 21:18:18 +02:00
Configuration.php fix: enable preview deployment page for deploy key applications 2026-02-23 21:08:43 +01:00
DeploymentNavbar.php feat(deployments): add log copying functionality to clipboard in dev 2025-10-02 18:34:39 +02:00
General.php refactor(validation): tokenize shell-safe command pattern 2026-04-20 22:00:41 +02:00
Heading.php Fix: Concurrent builds ignored & add deployment queue limit (#7488) 2025-12-11 11:03:02 +01:00
Previews.php feat: configurable stop grace period for applications 2026-04-22 21:18:18 +02:00
PreviewsCompose.php fix: remove {{port}} template variable and ensure ports are always appended to preview URLs 2025-12-07 21:53:47 +01:00
Rollback.php fix(git-ref-validation): prevent command injection via git references 2026-03-10 22:22:48 +01:00
Source.php fix(git-ref-validation): prevent command injection via git references 2026-03-10 22:22:48 +01:00
Swarm.php Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00