Listen only on the docker interface

This commit is contained in:
Girish Ramakrishnan
2020-03-29 13:11:16 -07:00
parent d5880cb953
commit f813cfa8db

View File

@@ -132,7 +132,7 @@ function start(callback) {
.use(middleware.lastMile());
gHttpServer = http.createServer(proxyServer);
gHttpServer.listen(constants.DOCKER_PROXY_PORT, '0.0.0.0', callback);
gHttpServer.listen(constants.DOCKER_PROXY_PORT, '172.18.0.1', callback);
// Overwrite the default 2min request timeout. This is required for large builds for example
gHttpServer.setTimeout(60 * 60 * 1000);