diff --git a/lib/cli.js b/lib/cli.js index 169e147f..9e35674a 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -674,7 +674,11 @@ program 'auth-mock' , '--port', options.authPort , '--secret', options.authSecret - , '--app-url', util.format('http://localhost:%d/', options.appPort) + , '--app-url', util.format( + 'http://%s:%d/' + , options.publicIp + , options.appPort + ) ]) // app @@ -682,7 +686,11 @@ program 'app' , '--port', options.appPort , '--secret', options.authSecret - , '--auth-url', util.format('http://localhost:%d/', options.authPort) + , '--auth-url', util.format( + 'http://%s:%d/' + , options.publicIp + , options.authPort + ) , '--storage-url' , util.format('http://localhost:%d/', options.storagePort) , '--storage-plugin-image-url'