I’ve been running 2 linodes for a number of years now - one has my website (wordpress) on it and one has a Foundry VTT server running. Both are separate linodes, and I use Google Domains to point [site.tld] to the wordpress VPS and foundry.[site.tld] to the other linode.
For a few services I run at home within my own network (Sonarr, Lidarr, Plex, etc.) I’ve started to use Docker and Portainer, and I like how easy it is to set things up (and remove them if they don’t work). I’d like to redo my VPS similarly - I’d like to have a single linode, as a Docker host, and have the main domain point to a Wordpress container, a subdomain point to a Foundry container, and be able to easily add other containers for something like freshrss, etc. My goal is to be able to quickly spin up a docker via a compose file (portainer would be preferred), have it automatically reach out to letsencrypt to get a cert for the relevant subdomain, and have that subdomain point to that docker container.
I’ve been doing some searching around, and there seem to be a number of options, things like nginx reverse proxy, traefik, etc. and there are a lot of conflicting results.
Does anyone here have an opinion on this or some advice as to what the best option to look into might be?
Traefik really shines when you have an orchestrator like k8s/nomad automatically driving its config via labels.
Traefik is just magic.
All my reverse proxy configuration takes place in my docker compose so there’s no config sprawl. Unlike my 5+ years of nginx-proxy and caddy, I haven’t had to do a single reverse proxy hack or config patch or fix to get something to proxy correctly for over 25 services from all over the self-hosted world.