mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-27 22:18:47 +00:00
feat(templates): add isolated deployment configuration to CompleteTemplate
Introduced an optional 'isolated' boolean property in the CompleteTemplate interface to manage isolated deployment settings. Added tests to verify default behavior (isolated=true) and explicit settings (isolated=true/false) in the deployment configuration. This change enhances template flexibility for deployment configurations.
This commit is contained in:
@@ -31,7 +31,7 @@ describe("helpers functions", () => {
|
|||||||
expect(domain.startsWith(`${mockSchema.projectName}-`)).toBeTruthy();
|
expect(domain.startsWith(`${mockSchema.projectName}-`)).toBeTruthy();
|
||||||
expect(
|
expect(
|
||||||
domain.endsWith(
|
domain.endsWith(
|
||||||
`${mockSchema.serverIp.replaceAll(".", "-")}.traefik.me`,
|
`${mockSchema.serverIp.replaceAll(".", "-")}.sslip.io`,
|
||||||
),
|
),
|
||||||
).toBeTruthy();
|
).toBeTruthy();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user