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:
- get a small desktop I don’t use for anything else
- install ubuntu
- install docker
- in a docker image install JupyterHub (probably just use Docker Hub)
- setup logins for the JupyterHub for specific people
- put my notebook in the container of course.
- run it on a certain port
- enable port forwarding on the home router
- 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?