I started Infra-Bootstrap-Tools (IBT) when I was first diving into DevOps as my personal lab for testing tools and running infrastructure experiments. Over the years, the project has evolved into a practical, battle-tested collection of Infrastructure-as-Code (IaC) and GitOps configurations designed for small self-hosted projects, edge nodes, and homelabs.
The core philosophy remains unchanged: reproducible, wipe-and-rebuild reliability. You should be able to completely tear down your infrastructure and have it running again in minutes with total confidence.
The Dual-Orchestration Model
Infrastructure is not one-size-fits-all. A minimal homelab running a couple of utility containers doesn’t need the overhead of an enterprise control plane. Conversely, complex multi-service architectures demand declarative GitOps, fine-grained RBAC, and zero-trust perimeter defense.
To address both needs without dogma, Infra-Bootstrap-Tools supports two distinct orchestration tracks:

Choosing Your Orchestration Track
| Capability | Docker Swarm Track | Kubernetes Track (Dark K3s) |
|---|---|---|
| Philosophy | Minimalist, simple, pragmatic | Enterprise GitOps & Zero-Trust |
| Control Plane | Docker Swarm Raft manager | K3s server bound strictly to 127.0.0.1 |
| Public Exposure | Ports 80/443 (Caddy) | Only OpenZiti data plane ports; API is dark |
| Workload Definition | Docker Compose / Stack files | Kustomize Components & HelmReleases via Flux |
| Secret & Config Delivery | Docker Secrets & Configs | 1Password CLI bootstrap + ConfigMap watch |
| Management Interface | Portainer Web UI | OpenZiti Tunnel + kubectl / k9s / Flux CLI |
| Recommended For | Low-spec hardware, rapid prototypes | Production homelabs, GitOps, zero-trust edge |
Documentation Sections
The documentation is organized into focused, progressive sections:
1. Getting Started & Quickstart
Understand prerequisites, setup your local development tools with Nix, configure secrets with 1Password, and deploy your chosen cluster.
2. Infrastructure Management
- Core Concerns & Parity: The six universal concerns of self-hosted infrastructure and architectural mirroring.
- Understanding Ansible Concepts: Playbooks, roles, tasks, and dynamic inventory.
- Cloud Provisioning with Terraform & Ansible: Spin up cloud compute instances on DigitalOcean or AWS.
3. Docker Swarm Track
- Architecture & Philosophy: Minimalist single-binary clustering, internal Raft consensus, and routing mesh.
- Bootstrapping Swarm with Ansible: Declarative multi-node inventory, manager initialization, and worker joins.
- Reverse Proxy with Caddy: Ingress perimeter, automated Let’s Encrypt TLS, and OAuth authentication.
- Cluster Operations with Portainer: Visual cluster management, container stacks, and monitoring.
4. Kubernetes Track (Dark K3s)
- Architecture & Philosophy: Dark control plane bound to
127.0.0.1, perimeter isolation, and zero-trust design. - Bootstrapping K3s with Ansible: Host OS hardening (UFW default-deny), declarative
config.yaml, and cluster joins. - Zero-Trust Mesh with OpenZiti: Programmable overlay network, router enrollment, and secure kubectl tunneling.
- Enterprise GitOps with Flux D2 & OCI: Monorepo OCI artifacts, values layering, and platform add-on services.
5. Tools Introduction
- Caddy Web Server: Reverse proxy with automated TLS.
- Portainer UI: Visual container management dashboard.
- FluxCD Operator: Gitless GitOps via OCI artifacts.
- OpenZiti Mesh: Programmable zero-trust overlay network.
6. Tools Showcase
- Nix & Dev Environments: Hermetic, reproducible shells via Nix flakes.
- Pre-commit Framework: Automated linters, formatters, and secret scans.
- Release Management with Changesets: Intentional monorepo versioning and release workflows.
- 1Password CLI: Secure secret injection without committed credentials.
- Boilerplate Generator: Rapid project scaffolding.
- Hugo Documentation Site: Fast static documentation publishing.