fix: respect EASYHAPROXY_LABEL_PREFIX

This commit is contained in:
Jose Diaz-Gonzalez
2022-11-06 00:19:53 -04:00
parent 44543c979a
commit 3871a35de6

View File

@@ -67,10 +67,10 @@ trigger-haproxy-vhosts-docker-args-process-deploy() {
fi
is_app_listening="true"
output="$output --label easyhaproxy.$APP-$PROC_TYPE.mode=$proxy_scheme"
output="$output --label easyhaproxy.$APP-$PROC_TYPE.port=$proxy_host_port"
output="$output --label easyhaproxy.$APP-$PROC_TYPE.localport=$proxy_container_port"
output="$output --label easyhaproxy.$APP-$PROC_TYPE.host=$haproxy_domains"
output="$output --label haproxy.$APP-$PROC_TYPE.mode=$proxy_scheme"
output="$output --label haproxy.$APP-$PROC_TYPE.port=$proxy_host_port"
output="$output --label haproxy.$APP-$PROC_TYPE.localport=$proxy_container_port"
output="$output --label haproxy.$APP-$PROC_TYPE.host=$haproxy_domains"
done
# add the labels for haproxy here