mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
Merge pull request #3607 from OthmanHaba/canary
fix(postgres): add default StopGracePeriod to prevent WAL corruption
This commit is contained in:
@@ -74,8 +74,7 @@ export const buildPostgres = async (postgres: PostgresNested) => {
|
||||
Image: dockerImage,
|
||||
Env: envVariables,
|
||||
Mounts: [...volumesMount, ...bindsMount, ...filesMount],
|
||||
...(StopGracePeriod !== null &&
|
||||
StopGracePeriod !== undefined && { StopGracePeriod }),
|
||||
StopGracePeriod: StopGracePeriod ?? 30_000_000_000,
|
||||
...(command && {
|
||||
Command: command.split(" "),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user