fix(core): update
This commit is contained in:
parent
b182a379af
commit
794bb60dfc
@ -59,6 +59,16 @@ export class DockerService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const ports = [];
|
const ports = [];
|
||||||
|
for (const port of serviceCreationDescriptor.ports) {
|
||||||
|
const portArray = port.split(':');
|
||||||
|
const hostPort = portArray[0];
|
||||||
|
const containerPort = portArray[1];
|
||||||
|
ports.push({
|
||||||
|
"Protocol": "tcp",
|
||||||
|
"PublishedPort": containerPort,
|
||||||
|
"TargetPort": hostPort
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
const secretArray: any[] = [];
|
const secretArray: any[] = [];
|
||||||
for (const secret of serviceCreationDescriptor.secrets) {
|
for (const secret of serviceCreationDescriptor.secrets) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user