1cf47477d344f8f351bc821c12efffb7f53a205c
- Purpur 1.21.4 server via itzg/docker-minecraft-server (java21) - StatefulSet with 3 PVCs: worlds (20Gi), plugins (5Gi), logs (5Gi) - Aikar G1GC JVM flags, 6GB heap (sized for Legion's 15GB RAM) - Postgres: mudcraft database + user in existing platform/postgres - RCON secret + DB password via ExternalSecret → Vault - Traefik TCP entrypoint on port 25565 for mudcraft.nook.family - mudcraft namespace via Terraform - Argo CD app watching k8s/mudcraft/
infrastructure
Personal infrastructure-as-code for Legion (k3s home server) and supporting tooling.
| Doc | What it covers |
|---|---|
AGENTS.md |
Full reference: machines, secrets, services, domains, namespaces, common operations |
servers/legion/README.md |
What's running on Legion and how deployment works |
servers/legion/RUNBOOK.md |
Disaster recovery — full restore from scratch |
Quick start
cd servers/legion
direnv allow
terraform plan
terraform apply
Push to servers/ to deploy app changes via Argo CD.
Languages
HCL
78.4%
Shell
17.5%
Python
2.6%
Dockerfile
1.5%