Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support proxied URLs for TensorBoard running in IPython (#3674)
Users will frequently want to run TensorBoard in environments where they are not allowed to open up or expose additional ports. For those cases jupyter-server-proxy (and other proxy software) allows forwarding web traffic to other services running on the system without opening new ports. (The Google Colab integration also works around this same issue of not being able to directly expose the port that TensorBoard runs on.) This PR allows users to optionally pass the TensorBoard traffic through a proxy by setting the TENSORBOARD_PROXY_URL environment variable. When this variable is not set TensorBoard will behave as normal. This adds support for a new optional environment variable TENSORBOARD_PROXY_URL which if set will be used as the URL's path for the IFRAME displayed in the notebook when running %tensorboard.
- Loading branch information