This repository contains the infrastructure as code for my homelab. The homelab hosts a number of applications that are managed by the following components:
- kubernetes - orchestrates application deployments
- registry - hosts a private docker registry
- dns-update - updates DNS providers with the homelab's latest ip address
- reverse-proxy - routes traffic to the appropriate services
Tip
Many of the scripts in this repository require superuser privileges (sudo) to run, mainly, the docker commands. If you don't want to use sudo, you can add your user to the docker group by running sudo usermod -aG docker $USER
and then logging out and back in or running newgrp docker
.
Pre-requisites:
- Docker
- MicroK8s
Visit each of the directories (in the order listed above) to setup the homelab infrastructure.