The Building Blocks
The Building Blocks of a running HomeLab. Based on Docker and running VM's and LXC's. Apps, security and databases. Web servers, Reverse Proxy
Howe users find the right web server on your server. And how to ser them the app.
Docker
This serie is based on using Docker ( see this link). This microservice approach is scalable, easy to deploy, easy to duplicate and many security issues are handeld by design. Market size is estimated to be in excess of 3 billion 2026.
We will soon set up the base: Docker, Docker-Compose, Portainer
Apps
You will find Docker apps for many and more needs. In some cases we can use native apps installed directly on the vm.
I will cover many base apps in the serie: Dozzer, Fail2ban, Heimdall, Dashery, MySQL, Maria DB, CrowdSec, NextCloud, NPM, Traefik, Nginx, WordPress ...
Webservers
There is many different web-servers, Apache and the newer Nginx.
They can store hundreds of sites fron many customers. They have mechanism in them self to guide you right but we need something easier than writhing code.
Reverse Proxy
You can set up Nginx as a nice reverse proxy and connect it to Authelia fore 2FA. For HomeLabs we can also use NPM (Nginx Proxy Manager based on openresty but heavily modified) or Traefik. NPM is easier to master and creates the Lets encrypt serts on the fly. I currently use NPM. I will soon do a tutorial on that setup.
Database servers
You will be using databases all over. You can use one central or many dedicated ones. In docker we usually use dedicated ones.
Networks
You need a connection to your favorite ISP and LAN and/or WLAN. Fiber is golden but other options are ok. What you use it's totally up to you and what you can get. Servers need physical LAN and they are always preferred over WLAN due to the speed benefit and security.
UPS
If you run self-hosted services you should consider a UPS.