Skip to content

half0wl/homelab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔬 homelab

Personal homelab - nothing to see here!

https://raychen.io/writing/homelab-setup

Services

Name Location Purpose
services/pihole-and-dns dns.gallifrey.sh Network-wide domain/ads blocking + dnsmasq for local DNS server
services/homebridge homebridge.gallifrey.sh Connecting unsupported devices to Apple HomeKit
services/unifi-network-application unifi.gallifrey.sh UniFi controller for network devices
services/observability observability.gallifrey.sh Monitoring stack via Grafana, cAdvisor, and Prometheus+NodeExporter
services/nginx-certbot N/A NGINX Reverse Proxy + SSL via LetsEncrypt/Certbot

p/s: the locations above are unreachable from the public!

Recipes

Running Playbooks

$ ansible-playbook \
    -i ansible/inventory.yml \
    services/$SERVICE/playbook.yml \
    --ask-become-pass

Renewing LE cert

  1. Edit services/nginx-certbot/cloudflare.ini with a valid "Edit Zone DNS" token from CF
  2. Run the Ansible playbook services/nginx-certbot/playbook.yml
  3. SSH into host and restart the nginx container

License

Do whatever you want.