mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix(swarm): remove restart policy #306
This commit is contained in:
@@ -242,12 +242,7 @@ export const generateConfigContainer = (application: ApplicationNested) => {
|
|||||||
? {
|
? {
|
||||||
RestartPolicy: restartPolicySwarm,
|
RestartPolicy: restartPolicySwarm,
|
||||||
}
|
}
|
||||||
: {
|
: {}),
|
||||||
// if no restartPolicySwarm provided use default
|
|
||||||
RestartPolicy: {
|
|
||||||
Condition: "on-failure",
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
...(placementSwarm
|
...(placementSwarm
|
||||||
? {
|
? {
|
||||||
Placement: placementSwarm,
|
Placement: placementSwarm,
|
||||||
|
|||||||
Reference in New Issue
Block a user