Oddbean new post about | logout
 Been playing around with holesail… here are a couple templates for people who want to use docker to connect their self-hosted services across devices. You should even be able to point this at something like a Start9 or umbrel service to share that externally. Use at your own risk… I’m not a security expert!

https://github.com/armstrys/holesail_docker

#selfhosting 
 This is pretty cool. I've been looking at these.
 https://docs.start9.com/0.3.5.x/developer-docs/packaging#choosing-software

But I don't totally understand all of this yet. Making it into a Docker container is the first step though, right? 
 It depends… if you already have a service you want to access remotely you can just use the existing templates and run the scripts to tell it the address of the service and it will expose it. 

If you are trying to run the service with docker too you will need to find the file to create a new container. 

Let me know what parts you are getting hung up on and I can try to make the docs more clear 
 Ideally, if you have an existing service like a local LLM running on your server (say localhost:8888) then you follow the “service template” on the server and use that address. The client template would be for the remote computer you want to connect from and you use the generated connection key and tell it what address you want to use on the second machine (say localhost:8889). Holesail does the magic of making the second address tunnel to the first. 

You can do it all easily without docker too by following the holesail docs, but if your terminal session dies you will need to relaunch the connections.

@supersu has first pass apps for Android and iOS that will make mobile access super easy. 
  @armstrys This sounds super cool, I haven't gotten time to try it out yet. I will do it when I get some time on my hands, also yes the Android app and iOS app will make this super easy. 
 Okay one more message - I also missed your start9 link (need more ☕️)…

I haven’t played around with Start9 so I don’t know if you can run this container directly on a start9 and point it at a local service… that may work. You would have a separate container for each service including the ui, which could be really annoying. 

I do know that you can run these containers from a second server and point them at a service port like http://mystart9:8888 and it will make the holesail connection as if it is running directly on the start9 machine. Still you would have separate connections for each service so I don’t know how realistic it is. 

Caveat that Start9 also mentions needing to run over tor and I don’t know how the tor usage impacts everything I mentioned above….