Skip to content

shikharbhardwaj/infra

 
 

Repository files navigation

shikharbhardwaj/infra

Repo containing IaC for my homelab machines.

🚧 WIP 🚧

Preview

Preview image

Network overview

Network overview

Dependencies

bitwarden CLI with local vault

  1. Download bitwarden CLI and place it in PATH

  2. Setup connection to self-hosted

    bw config server {{ host }}
    
  3. Login

    bw login
    
  4. Add following rc alias to unlock vault when needed

    alias "bwu"='export BW_SESSION=$(bw unlock --raw)'
    

Ansible

  1. Install pipx: https://pipx.pypa.io/stable/
  2. pipx install --include-deps ansible
  3. Populate ansible inventory in hosts file, using the hosts.example file as a template.
  4. Test ansible setup by running the following make commands (maintenance upgrades).
    make update-ubuntu-hosts
    make update-proxmox-hosts
    

Kubectl access

Download the kubectl config from /etc/rancher/k3s/k3s.yaml from one of the Kubernetes nodes. Substitute things like cluster name/user name etc and place in ~/.kube/config

App inventory

TODO: Move all these to ArgoCD.

Kustomize
Name In use? ArgoCD
autotrim-pv
deluge
homepage
kavita
letsencrypt
main-ingress
minio
mlflow
postgres-mlflow
prowlarr
radarr
readarr
shelly-plug-monitor
sonarr
ttyd
vaultwarden
wazuh
docker-registry
heimdall
home-assistant
csgo-dedicated-server
tuya-monitor
Helm charts
Name In use? ArgoCD
autotrim
nocodb
zero2prod
argo-cd
coder
democratic-csi
label-studio
nextcloud
triton-inference-server
prefect

About

IaC for my Linux/Unix machines

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 50.5%
  • Smarty 18.4%
  • TypeScript 10.4%
  • Shell 8.7%
  • Dockerfile 6.8%
  • Makefile 5.2%