mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
fix(postgres): set default StopGracePeriod to 30 seconds if not provided
This commit is contained in:
@@ -73,8 +73,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