refactor: prettify json of each setting

This commit is contained in:
Mauricio Siu
2024-05-18 14:38:55 -06:00
parent 5a70e616e6
commit 683a62f418
4 changed files with 272 additions and 99 deletions

View File

@@ -100,8 +100,6 @@ export const mechanizeDockerContainer = async (
const registry = application.registry;
console.log(Labels);
let image =
sourceType === "docker"
? dockerImage || "ERROR-NO-IMAGE-PROVIDED"
@@ -139,7 +137,6 @@ export const mechanizeDockerContainer = async (
Networks: [{ Target: "dokploy-network" }],
RestartPolicy,
Placement,
Resources: {
...resources,
},