ajouter - "traefik.docker.network=pahekoNet"
This commit is contained in:
parent
588ab341bc
commit
c2d65e5c52
@ -12,7 +12,8 @@ file="docker-compose.yml"
|
|||||||
|
|
||||||
#je construis les labels
|
#je construis les labels
|
||||||
TMPFILE=$(mktemp /tmp/paheko-XXXXX)
|
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
|
echo " - \"traefik.frontend.rule=HostRegexp:{host:[a-zA-Z0-9_-]+-${pahekoHost}}.${domain}\"" >> $TMPFILE
|
||||||
for orga in $(getPahekoOrgaList); do
|
for orga in $(getPahekoOrgaList); do
|
||||||
echo " - \"traefik.http.routers."$orga".rule=Host(\`"$orga"-paheko.kaz.bzh\`)\"" >> $TMPFILE
|
echo " - \"traefik.http.routers."$orga".rule=Host(\`"$orga"-paheko.kaz.bzh\`)\"" >> $TMPFILE
|
||||||
|
Loading…
Reference in New Issue
Block a user