Ngrok subdomain support

I have a paid account for ngrok and have a reserved subdomain with them. Is there a way to have ngrok start with the --subdomain option as part of the container?

If I try to run ngrok separately from the container, pointing to my local URL, it just shows the Devilbox page (same as localhost)

Any ideas how I could get it to work?

It’s currently not implemented, but I guess it can be easily done. The Devilbox ngrok image is here: https://github.com/devilbox/docker-ngrok

How would the ngrok configuration look like for subdomains?

I figured I would reply to this thread since it seems that the OP didn’t need to follow up. I was also looking for subdomain support so I did a little research and found the answer to your question @cytopia. The ngrok configuration would look like the third example under this link here: https://ngrok.com/docs#config-examples . In that example you can also see the parameter named “auth” that is needed for password protecting links. I think this would also be a neat feature to implement if you’re interested. I would like to find the time to play around with the docker-entrypoint.sh since I know that is the only piece that should need tweaking in order to make this work. If I’m able to get it working then I’ll try to make a pull request but I’ve been covered up with work so it may not happen anytime soon.