Merge pull request #1692 from ron-tayler/canary

Fixed network search in Traefik Labels for the service
This commit is contained in:
Mauricio Siu
2025-04-12 22:10:20 -06:00
committed by GitHub

View File

@@ -249,6 +249,11 @@ export const addDomainToCompose = async (
labels.unshift("traefik.enable=true");
}
labels.unshift(...httpLabels);
if (!compose.isolatedDeployment) {
if (!labels.includes("traefik.docker.network=dokploy-network")) {
labels.unshift("traefik.docker.network=dokploy-network");
}
}
}
if (!compose.isolatedDeployment) {