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({
|
||||
name,
|
||||
port: port.PublishedPort
|
||||
port: port.PublishedPort,
|
||||
targetPort: port.TargetPort
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ backend {{name}}
|
|||
#+++++++++++++++++++++++++++++++ TCP backends
|
||||
|
||||
{{#each tcp}}
|
||||
listen {{name}}:{{port}}
|
||||
listen {{name}}:{{port}}:{{targetPort}}
|
||||
bind :{{port}}
|
||||
mode tcp
|
||||
{{#each ../workers}}
|
||||
|
|
Reference in New Issue