mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix(#210): remove restartpolicy in order to automatically restart the services in any case
This commit is contained in:
@@ -23,9 +23,6 @@ export const initializePostgres = async () => {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
Networks: [{ Target: "dokploy-network" }],
|
Networks: [{ Target: "dokploy-network" }],
|
||||||
RestartPolicy: {
|
|
||||||
Condition: "on-failure",
|
|
||||||
},
|
|
||||||
Placement: {
|
Placement: {
|
||||||
Constraints: ["node.role==manager"],
|
Constraints: ["node.role==manager"],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -20,9 +20,6 @@ export const initializeRedis = async () => {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
Networks: [{ Target: "dokploy-network" }],
|
Networks: [{ Target: "dokploy-network" }],
|
||||||
RestartPolicy: {
|
|
||||||
Condition: "on-failure",
|
|
||||||
},
|
|
||||||
Placement: {
|
Placement: {
|
||||||
Constraints: ["node.role==manager"],
|
Constraints: ["node.role==manager"],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -40,9 +40,6 @@ export const initializeRegistry = async (
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
Networks: [{ Target: "dokploy-network" }],
|
Networks: [{ Target: "dokploy-network" }],
|
||||||
RestartPolicy: {
|
|
||||||
Condition: "on-failure",
|
|
||||||
},
|
|
||||||
Placement: {
|
Placement: {
|
||||||
Constraints: ["node.role==manager"],
|
Constraints: ["node.role==manager"],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -38,9 +38,6 @@ export const initializeTraefik = async () => {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
Networks: [{ Target: "dokploy-network" }],
|
Networks: [{ Target: "dokploy-network" }],
|
||||||
RestartPolicy: {
|
|
||||||
Condition: "on-failure",
|
|
||||||
},
|
|
||||||
Placement: {
|
Placement: {
|
||||||
Constraints: ["node.role==manager"],
|
Constraints: ["node.role==manager"],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user