# Expose a running notebook online from home?

**URL:** <https://discourse.jupyter.org/t/expose-a-running-notebook-online-from-home/12233>\
**Category:** JupyterHub\
**Tags:** jupyterhub, how-to\
**Created:** [December 16, 2021, 7:30am UTC](https://discourse.jupyter.org/t/expose-a-running-notebook-online-from-home/12233 "2021-12-16T07:30:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![metastack](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/metastack/32/6004_2.png) [@metastack](https://discourse.jupyter.org/u/metastack)\
**Post date:** [December 16, 2021, 7:30am UTC](https://discourse.jupyter.org/t/expose-a-running-notebook-online-from-home/12233/1 "2021-12-16T07:30:23Z")

</div>

I have a notebook that has a main loop in it and is always running. I want to make it available to some friends through the internet but I don’t know how to do it safely. I don’t want to open up any vulnerabilities on my home network. Here’s what I was thinking:

1. get a small desktop I don’t use for anything else
2. install ubuntu
3. install docker
4. in a docker image install JupyterHub (probably just use [Docker Hub](https://hub.docker.com/r/jupyterhub/jupyterhub/))
5. setup logins for the JupyterHub for specific people
6. put my notebook in the container of course.
7. run it on a certain port
8. enable port forwarding on the home router
9. give people my routers ip and the port

I’ve never done anything like this before. What do you think?

I could run it on a digital ocean droplet, but if its safe to do it from my home, why not, I’ve got an extra computer I can use.

What are your thoughts? is there a better solution altogether? has this been done before?
