【发布时间】:2019-05-05 21:01:41
【问题描述】:
[https://github.com/gtriggiano/ngrok-tunnel ] 在容器内运行 ngrok。 Ngrok 需要在容器中运行以规避安全风险。但是在运行脚本后我遇到了问题,它会生成 url
$ docker pull gtriggiano/ngrok-tunnel
$ docker run -it -e "TARGET_HOST=localhost" -e "TARGET_PORT=3000" -p 4040 gtriggiano/ngrok-tunnel
我在 localhost:3000 上运行我的 Rails 应用程序
这是我的问题还是可以通过更改脚本(在 repo 内)来解决?
【问题讨论】: