Skip to content

this-is-tobi/homelab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

873 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Homelab ⚗️

This project aims to build a homelab for personal testing on infrastructure, development, CI/CD, etc...

It provides a complete configuration with common web services using:

  • Ansible for infrastructure deployment (gateway and k3s cluster)
  • GitOps (ArgoCD) for Kubernetes applications deployment

It is a quick starting point for simple infrastructure needs or for testing various tools such as monitoring, alerting, automated deployment, security testing, etc...

Documentation

Website: https://this-is-tobi.com/homelab/introduction.

Table of Contents - md sources:

Quickstart

Make sure all prerequisites are met.

Setup directory:

# Clone the repository
git clone --depth 1 https://github.com/this-is-tobi/homelab.git && cd ./homelab && rm -rf ./.git && git init

# Copy inventory example to inventory
cp -R ./ansible/inventory-example ./ansible/inventory

Infrastructure

Setup inventory:

Install:

# Deploy gateway and K3s cluster, fetch kubeconfig
./run.sh -p ./ansible/install.yml -u -k

Kubernetes Services (GitOps)

Setup configuration:

Install:

# Set kubectl context
kubectl config use-context homelab

# Bootstrap (or upgrade) the homelab instance
./run.sh -b homelab

Optionally pass ARGOCD_ADMIN_PASSWORD=mypass before the command to set the ArgoCD admin password explicitly. Otherwise the chart auto-generates one and the script prints it at the end.

About

Automated homelab deployment system

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors