Merge pull request #1477 from Mautriz/canary

Allow traefik labels customization in docker-composes
This commit is contained in:
Mauricio Siu 2025-03-15 20:48:46 -06:00 committed by GitHub
commit f74d02381f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -238,9 +238,9 @@ export const addDomainToCompose = async (
if (Array.isArray(labels)) { if (Array.isArray(labels)) {
if (!labels.includes("traefik.enable=true")) { 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) { if (!compose.isolatedDeployment) {