remove debug
This commit is contained in:
parent
c53f0dbb30
commit
27dfa24cfb
1 changed files with 0 additions and 4 deletions
|
|
@ -23,7 +23,6 @@ import { checkContainer } from '../lib/docker';
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
portReachable = await isReachable(80, { host: 'localhost' })
|
portReachable = await isReachable(80, { host: 'localhost' })
|
||||||
console.log({ port: 80, portReachable })
|
|
||||||
if (!portReachable) {
|
if (!portReachable) {
|
||||||
await startTraefikProxy(localDocker.id);
|
await startTraefikProxy(localDocker.id);
|
||||||
}
|
}
|
||||||
|
|
@ -49,7 +48,6 @@ import { checkContainer } from '../lib/docker';
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
portReachable = await isReachable(publicPort, { host: destinationDocker.remoteIpAddress || 'localhost' })
|
portReachable = await isReachable(publicPort, { host: destinationDocker.remoteIpAddress || 'localhost' })
|
||||||
console.log({ publicPort, portReachable })
|
|
||||||
if (!portReachable) {
|
if (!portReachable) {
|
||||||
await startTraefikTCPProxy(destinationDocker, id, publicPort, privatePort);
|
await startTraefikTCPProxy(destinationDocker, id, publicPort, privatePort);
|
||||||
}
|
}
|
||||||
|
|
@ -72,7 +70,6 @@ import { checkContainer } from '../lib/docker';
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
portReachable = await isReachable(ftpPublicPort, { host: destinationDocker.remoteIpAddress || 'localhost' })
|
portReachable = await isReachable(ftpPublicPort, { host: destinationDocker.remoteIpAddress || 'localhost' })
|
||||||
console.log({ ftpPublicPort, portReachable })
|
|
||||||
if (!portReachable) {
|
if (!portReachable) {
|
||||||
await startTraefikTCPProxy(destinationDocker, id, ftpPublicPort, 22, 'wordpressftp');
|
await startTraefikTCPProxy(destinationDocker, id, ftpPublicPort, 22, 'wordpressftp');
|
||||||
}
|
}
|
||||||
|
|
@ -97,7 +94,6 @@ import { checkContainer } from '../lib/docker';
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
portReachable = await isReachable(publicPort, { host: destinationDocker.remoteIpAddress || 'localhost' })
|
portReachable = await isReachable(publicPort, { host: destinationDocker.remoteIpAddress || 'localhost' })
|
||||||
console.log({ publicPort, portReachable })
|
|
||||||
if (!portReachable) {
|
if (!portReachable) {
|
||||||
await startTraefikTCPProxy(destinationDocker, id, publicPort, 9000);
|
await startTraefikTCPProxy(destinationDocker, id, publicPort, 9000);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue