refs #5101 Add target port to template
gitea/docker-discover/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2023-02-27 22:58:36 +01:00
parent f221dead2b
commit 1eba8ef365
2 changed files with 3 additions and 2 deletions

View File

@ -89,7 +89,8 @@ async function updateProxy(firstRun) {
backends.push({
name,
port: port.PublishedPort
port: port.PublishedPort,
targetPort: port.TargetPort
});
}
}

View File

@ -48,7 +48,7 @@ backend {{name}}
#+++++++++++++++++++++++++++++++ TCP backends
{{#each tcp}}
listen {{name}}:{{port}}
listen {{name}}:{{port}}:{{targetPort}}
bind :{{port}}
mode tcp
{{#each ../workers}}