mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-28 02:25:23 +02:00
Merge branch 'canary' into feature/stop-grace-period-2227
This commit is contained in:
@@ -348,7 +348,9 @@ export const calculateResources = ({
|
||||
};
|
||||
};
|
||||
|
||||
export const generateConfigContainer = (application: ApplicationNested) => {
|
||||
export const generateConfigContainer = (
|
||||
application: Partial<ApplicationNested>,
|
||||
) => {
|
||||
const {
|
||||
healthCheckSwarm,
|
||||
restartPolicySwarm,
|
||||
@@ -363,7 +365,7 @@ export const generateConfigContainer = (application: ApplicationNested) => {
|
||||
stopGracePeriodSwarm,
|
||||
} = application;
|
||||
|
||||
const haveMounts = mounts.length > 0;
|
||||
const haveMounts = mounts && mounts.length > 0;
|
||||
|
||||
return {
|
||||
...(healthCheckSwarm && {
|
||||
|
||||
Reference in New Issue
Block a user