refs #5101 Add target port to template
gitea/docker-discover/pipeline/head This commit looks good
Details
gitea/docker-discover/pipeline/head This commit looks good
Details
This commit is contained in:
parent
f221dead2b
commit
1eba8ef365
3
index.js
3
index.js
|
@ -89,7 +89,8 @@ async function updateProxy(firstRun) {
|
||||||
|
|
||||||
backends.push({
|
backends.push({
|
||||||
name,
|
name,
|
||||||
port: port.PublishedPort
|
port: port.PublishedPort,
|
||||||
|
targetPort: port.TargetPort
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,7 @@ backend {{name}}
|
||||||
#+++++++++++++++++++++++++++++++ TCP backends
|
#+++++++++++++++++++++++++++++++ TCP backends
|
||||||
|
|
||||||
{{#each tcp}}
|
{{#each tcp}}
|
||||||
listen {{name}}:{{port}}
|
listen {{name}}:{{port}}:{{targetPort}}
|
||||||
bind :{{port}}
|
bind :{{port}}
|
||||||
mode tcp
|
mode tcp
|
||||||
{{#each ../workers}}
|
{{#each ../workers}}
|
||||||
|
|
Reference in New Issue