[英]ClearML server IP address not used with localhost and SSH port forwarding
Trying to use clearml-server on own Ubuntu 18.04.5.尝试在自己的 Ubuntu 18.04.5 上使用 clearml-server。
I use env variables to set the IP Address of my clearml-server.我使用环境变量来设置我的 clearml-server 的 IP 地址。
export CLEARML_HOST_IP=127.0.0.1
export TRAINS_HOST_IP=127.0.0.1
But it still is available thorugh the external server IP.但它仍然可以通过外部服务器 IP 获得。 How can I deactivate the listeners for external IP in clearml-server config?如何在 clearml-server 配置中停用外部 IP 的侦听器?
Edit: According to this: I use SSH Port forward to access local instance from my computer outside of the network.编辑:据此:我使用 SSH 端口转发从网络外部的计算机访问本地实例。 But I can't access custom uploaded images (task-> debug samples) as they will not use my port forwarded URLs.但我无法访问自定义上传的图像(任务-> 调试示例),因为它们不会使用我的端口转发 URL。
Disclaimer: I'm a ClearML (Trains) team member免责声明:我是 ClearML(火车)团队成员
Basically the docker-compose will expose only the API/Web/File server, you can further limit the exposure to your localhost only, by changing the following section in your ClearML server docker-compose.yml基本上 docker-compose 将仅公开 API/Web/文件服务器,您可以通过更改 ClearML 服务器docker-compose.yml中的以下部分来进一步限制仅对本地主机的公开
networks:
backend:
driver:
bridge
driver_opts:
com.docker.network.bridge.host_binding_ipv4: "127.0.0.1"
frontend:
driver:
bridge
driver_opts:
com.docker.network.bridge.host_binding_ipv4: "127.0.0.1"
Based on docker's documentation基于 docker 的文档
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.