From c2d65e5c5270678f4cbe4ae584d4e55f6d365e09 Mon Sep 17 00:00:00 2001 From: hpl Date: Thu, 8 Aug 2024 16:57:44 +0200 Subject: [PATCH] ajouter - "traefik.docker.network=pahekoNet" --- dockers/paheko/docker-compose-gen.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockers/paheko/docker-compose-gen.sh b/dockers/paheko/docker-compose-gen.sh index e1c51d2..d2d9b17 100755 --- a/dockers/paheko/docker-compose-gen.sh +++ b/dockers/paheko/docker-compose-gen.sh @@ -12,7 +12,8 @@ file="docker-compose.yml" #je construis les labels TMPFILE=$(mktemp /tmp/paheko-XXXXX) -echo " - \"traefik.enable=true\"" > $TMPFILE +echo " - \"traefik.docker.network=pahekoNet\"" > $TMPFILE +echo " - \"traefik.enable=true\"" >> $TMPFILE echo " - \"traefik.frontend.rule=HostRegexp:{host:[a-zA-Z0-9_-]+-${pahekoHost}}.${domain}\"" >> $TMPFILE for orga in $(getPahekoOrgaList); do echo " - \"traefik.http.routers."$orga".rule=Host(\`"$orga"-paheko.kaz.bzh\`)\"" >> $TMPFILE