mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-28 18:45:22 +02:00
feat(swarm): add stop grace period configuration for Docker Swarm services
- Add stopGracePeriodSwarm field to application schema for configuring container shutdown grace period - Update swarm settings UI to include nanosecond input for stop grace period - Regenerate migration as 0110 to resolve sequence conflict with canary branch - Clean up commented debug code and reorganize imports The stop grace period allows users to specify how long Docker should wait before forcefully terminating a container during shutdown, improving graceful shutdown handling for applications.
This commit is contained in:
@@ -1 +0,0 @@
|
||||
ALTER TABLE "application" ADD COLUMN "stopGracePeriodSwarm" bigint;
|
||||
1
apps/dokploy/drizzle/0110_vengeful_maddog.sql
Normal file
1
apps/dokploy/drizzle/0110_vengeful_maddog.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE "application" ADD COLUMN IF NOT EXISTS "stopGracePeriodSwarm" bigint;
|
||||
6501
apps/dokploy/drizzle/meta/0110_snapshot.json
Normal file
6501
apps/dokploy/drizzle/meta/0110_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -771,6 +771,13 @@
|
||||
"when": 1757052053574,
|
||||
"tag": "0109_remarkable_sauron",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 110,
|
||||
"version": "7",
|
||||
"when": 1757088700712,
|
||||
"tag": "0110_vengeful_maddog",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user