Merge pull request #7035 from dokku/dependabot/docker/plugins/traefik-vhosts/traefik-3.1.2
chore(deps): bump traefik from 2.11.2 to 3.1.2 in /plugins/traefik-vhosts
This commit is contained in:
2 files changed
+14
-4
No files matched your search
@@ -1 +1 @@
|
|||||||
FROM traefik:2.11.2
|
FROM traefik:3.1.2
|
||||||
@@ -83,8 +83,18 @@ trigger-traefik-vhosts-docker-args-process-deploy() {
|
|||||||
if [[ -n "$is_app_listening" ]]; then
|
if [[ -n "$is_app_listening" ]]; then
|
||||||
app_domains="$(plugn trigger domains-list "$APP")"
|
app_domains="$(plugn trigger domains-list "$APP")"
|
||||||
if [[ -n "$app_domains" ]]; then
|
if [[ -n "$app_domains" ]]; then
|
||||||
traefik_domains="$(echo "$app_domains" | xargs)"
|
# get length of domains
|
||||||
traefik_domains="${traefik_domains// /\\\`,\\\`}"
|
if [[ "$(echo "$traefik_domains" | wc -w)" -eq 1 ]]; then
|
||||||
|
traefik_domains="Host(\\\`$traefik_domains\\\`)"
|
||||||
|
else
|
||||||
|
for domain in $(echo "$app_domains" | xargs); do
|
||||||
|
if [[ -z "$traefik_domains" ]]; then
|
||||||
|
traefik_domains="Host(\\\`$domain\\\`)"
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
traefik_domains="$traefik_domains || Host(\\\`$domain\\\`)"
|
||||||
|
done
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
output="--label traefik.enable=true"
|
output="--label traefik.enable=true"
|
||||||
@@ -99,7 +109,7 @@ trigger-traefik-vhosts-docker-args-process-deploy() {
|
|||||||
output="$output --label traefik.http.routers.$APP-$PROC_TYPE-http.entrypoints=$(fn-traefik-http-entry-point)"
|
output="$output --label traefik.http.routers.$APP-$PROC_TYPE-http.entrypoints=$(fn-traefik-http-entry-point)"
|
||||||
output="$output --label traefik.http.routers.$APP-$PROC_TYPE-http.service=$APP-$PROC_TYPE-http"
|
output="$output --label traefik.http.routers.$APP-$PROC_TYPE-http.service=$APP-$PROC_TYPE-http"
|
||||||
if [[ -n "$traefik_domains" ]]; then
|
if [[ -n "$traefik_domains" ]]; then
|
||||||
output="$output --label \"traefik.http.routers.$APP-$PROC_TYPE-http.rule=Host(\\\`$traefik_domains\\\`)\""
|
output="$output --label \"traefik.http.routers.$APP-$PROC_TYPE-http.rule=$traefik_domains\""
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user