Sharing my project: automatically start tunnels for your Docker containers using Hera


#1

Hey everyone,

I’m a big fan of Argo, and I run a lot of Docker containers with Argo tunnels so I can access them outside of my local network. I know that Argo currently offers a way to expose containers but it requires the tedious work of modifying (or creating) a Dockerfile and I wanted to automate the process.

I’ve been working on Hera, a tool that runs as a container itself and lets you configure other containers you want to be tunneled by defining a couple of labels. Hera watches when those containers are spun up and creates an Argo tunnel automatically, as well as the reverse (stopping the tunnel when the container stops running).

It’s still in the early stages, but it’s been pretty solid for me so far. I’m sharing in hopes that there are others who will benefit from this as much as I have! Cheers.