Skip to content

A collection of docker-compose files to setup my current homelab infrastructure, powered by several Raspberry Pi’s and the Cloud!

License

Notifications You must be signed in to change notification settings

jon77p/infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infrastructure

Overall Status Infrastructure Status Cluster Status OCI Status Services Status Healthchecks Status HomeAssistant Status

Open in GitHub Codespaces

Getting Started: [Minimal Setup]

  1. docker swarm init on manager node
  2. docker swarm join with correct join token on all other nodes
  3. docker network create --scope swarm --driver overlay web on manager node
  4. docker stack deploy -c cloudflared/docker-compose.yml picluster
  5. docker stack deploy -c traefik/docker-compose.yml picluster
  6. docker stack deploy -c cloudflare-companion/docker-compose.yml picluster

Locally Applying kustomizations

  1. Export environment variables to current shell
  2. Run envsubst < <(kubectl kustomize *path-to-kustomization-dir*) | kubectl apply -f -

Decrypting SOPS secrets for kubectl

  1. sops --decrypt *path-to-.sops.yaml* | kubectl apply -f -

Credits

Portions cloned from k8s-at-home/template-cluster-k3s