mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
Allow traefik labels customization in docker-composes
This commit is contained in:
parent
3b737ca55b
commit
07769e69d6
@ -238,9 +238,9 @@ export const addDomainToCompose = async (
|
||||
|
||||
if (Array.isArray(labels)) {
|
||||
if (!labels.includes("traefik.enable=true")) {
|
||||
labels.push("traefik.enable=true");
|
||||
labels.unshift("traefik.enable=true");
|
||||
}
|
||||
labels.push(...httpLabels);
|
||||
labels.unshift(...httpLabels);
|
||||
}
|
||||
|
||||
if (!compose.isolatedDeployment) {
|
||||
|
Loading…
Reference in New Issue
Block a user