Hosting

Gentoo + Docker + NGINX

Since I host my services myself and like to tinker with various systems. I use Gentoo GNU/Linux as a host operating system on my servers, and the VMs also run Gentoo. I like Gentoo since I can easily adapt it to my specific needs, it’s pretty simple to do even down to the kernel, especially in VMs.

On top of Gentoo, I use Docker Compose to host the containers. Whenever I commit a change and push it to GitHub, GitHub automatically builds the container. I also run Watchtower on my server; Watchtower monitors running containers and when a new version of the image that GitHub creates for my website is available, Watchtower should then pull the new image and restart the container with the new image.