I have a pretty comprehensive server / cluster setup at home. I use Docker Swarm because K8s is a bit overkill for my needs. Portainer to manage containers and stacks, Traefik as my reverse proxy, and GlusterFS as a sort of distributed filesystem incase a node goes down. Hardware wise, it’s currently made up of 6 OrangePis plus an old gaming PC with the GPU ripped out. I jokingly call it “The Grove” haha.  The PC runs Proxmox and the OrangePis are all bare metal. Overall, I can boast 82GB of ram and 62 CPU cores. 

I will go over how to setup Portainer and Traefik with Cloudflare, go over some simple “gotchas” that I’ve ran into over the years, and offer additional configs that I use to host services such as Ghost, Minecraft, etc. I'll also include a guide on how to automatically update your IP address with Cloudflare, if you have a dynamic IP like I do.

Posts

Setting up Portainer with Traefik using Cloudflare
This is a guide on setting up a new server for self hosting in my preferred configuration. We’ll use Portainer to manage Docker Containers and Stack. And we’ll use Traefik as a reverse proxy configured to pull certificates from Cloudflare directly instead of LetsEncrypt. Docker Setup Install docker