3 ms·
This looks awesome! What I couldn't immediately see from skimming the repo is: How hard would it be to use a docker-based automatic https proxy such as this [
by uniqueuid 5y ago
This looks awesome!
What I couldn't immediately see from skimming the repo is:
How hard would it be to use a docker-based automatic https proxy such as this [1] with all projects?
I've had a handfull of docker-based services running for many years and love the convenience. What I'm doing now is simply wrap the images in a bash script that stops the containers, snapshots the ZFS volume, pulls newer versions and re-launches everything. That's then run via cron once a day. Zero issues across at least five years.
[1] https://github.com/SteveLTN/https-portal https://github.com/SteveLTN/https-portal
- stavros 5y agoUnder the hood, all Harbormaster does is run `docker-compose up` on a bunch of directories. I'm not familiar with the HTTPS proxy, but it looks like you could just add it to the config and it'd auto-deploy and run. Sounds like a very good ingress solution, I'll try it for myself too, thanks! I use Caddy now but configuration is a bit too manual.
- uniqueuid 5y agoThanks! One thing to note is that you'll need to make sure that all the compose bundles are on the same network. I.e. add this to all of them: networks: default: external: name: nginx-proxy
- stavros 5y agoAh yep, thanks! One thing that's possible (and I'd like to do) with Harbormaster is add configuration to the upstream apps themselves, so to deploy, say, Plex, all you need to do is add the Plex repo URL to your config (and add a few env vars) and that's it! I already added a config for Plex in the Harbormaster repo, but obviously it's better if the upstream app itself has it: https://gitlab.com/stavros/harbormaster/-/blob/master/apps/plex-bridge.yml https://gitlab.com/stavros/harbormaster/-/blob/master/apps/p...
- 3np 5y agoFWIW Traefik is pretty easy to get running and configured based on container tags, which you cam set in compose files. Traefik can be a bit hairy in some ways, but for anything you'd run Harbormaster for it should be a good fit. Right now I have some Frankenstein situation with all of Traefik, Nginx, HAProxy, Envoy (though this is inherited from Consul Connect) at different points... I keep thinking about replacing Traefik with Envoy, but the docs and complexity are a bit daunting.