homelab-ops
- Repo stars 0
- Author repo skills-registry
Homelab — Platform Operations
You can manage the homelab platform through shell scripts and Docker commands.
Repository Layout
The homelab repo lives at ~/homelab on the Mac mini. Key paths:
| Path | Purpose |
|---|---|
scripts/platform-up |
Start all platform services (Caddy, Authentik…) |
scripts/app-up <app> |
Start a single app (e.g., immich) |
scripts/app-backup <app> |
Snapshot an app's volumes to backup dir |
scripts/app-update <app> |
Pull latest images and recreate an app |
scripts/dr-verify |
Verify disaster-recovery readiness |
platform/ |
Platform service compose files |
apps/ |
App compose files (immich, etc.) |
DESIGN.md |
Architecture reference |
docs/ |
Operational procedures, runbooks, ADRs |
Docker Compose Commands
All services use Docker Compose. Compose files live in their respective directories.
# List running containers
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"
# Restart a specific service
cd ~/homelab/platform/caddy && docker compose restart
# View logs (last 50 lines, follow)
docker compose -f ~/homelab/apps/immich/compose.yml logs --tail 50 -f
# Pull latest images for an app
cd ~/homelab/apps/immich && docker compose pull && docker compose up -d
# Check resource usage
docker stats --no-stream --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}"
Platform Scripts
Always use the provided scripts when they exist — they handle ordering, health checks, and logging.
Start the entire platform
~/homelab/scripts/platform-up
Starts services in dependency order: networking → Caddy → Authentik → Homepage → Dockge → Uptime Kuma.
Backup an application
~/homelab/scripts/app-backup immich
Creates a timestamped snapshot of all named volumes for the app. Backups go to the configured backup directory.
Update an application
~/homelab/scripts/app-update immich
Pulls latest images, recreates containers, verifies health.
Verify disaster recovery
~/homelab/scripts/dr-verify
Checks backup freshness, volume integrity, and restore readiness.
Service Quick Reference
| Service | Directory | Network | Key Ports |
|---|---|---|---|
| Caddy | platform/caddy |
caddy-net | 80, 443 |
| Authentik | platform/authentik |
caddy-net | 9000, 9443 |
| PostgreSQL | platform/authentik (bundled) |
authentik | 5432 |
| Redis | platform/authentik (bundled) |
authentik | 6379 |
| Homepage | platform/homepage |
caddy-net | 3000 |
| Dockge | platform/dockge |
caddy-net | 5001 |
| Uptime Kuma | platform/uptime-kuma |
caddy-net | 3001 |
| Immich | apps/immich |
caddy-net + immich-internal | 2283 |
Guidelines
- Never run destructive commands (
docker system prune,docker volume rm) without explicit confirmation and a fresh backup. - Prefer the platform scripts over raw
docker composecommands — they handle dependency ordering. - When updating, always check
docker psafter to verify containers are healthy. - The Caddy reverse proxy resolves
*.homehostnames. If a service is unreachable, check Caddy first. - All compose files use
restart: unless-stopped. Manualdocker stoppersists across reboots.
<!-- tomevault:4.0:skill_md:2026-05-22 -->Source: briancunningham6/homelab — distributed by TomeVault.
- Fluxly category
- DevOps
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Author / version / license
- @tomevault-io · no license declared
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Manual integration
- External API key
- No requirement detected
- Detected OS requirements
- Docker
- Runtime requirements
- Docker
- Detected file/system behavior
-
- Read-only
- Write / modify
- Shell exec
- Detected network behavior
- Local-only
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. The homelab repo lives at ~/homelab on the Mac mini. Key paths: Path · Purpose scripts/platform-up · Start all platform services (Caddy, Authentik…)
All services use Docker Compose. Compose files live in their respective directories.
Always use the provided scripts when they exist — they handle ordering, health checks, and logging.
Starts services in dependency order: networking → Caddy → Authentik → Homepage → Dockge → Uptime Kuma.
Creates a timestamped snapshot of all named volumes for the app. Backups go to the configured backup directory.
Pulls latest images, recreates containers, verifies health.
# Homelab — Platform Operations
You can manage the homelab platform through shell scripts and Docker commands.
## Repository Layout
The homelab repo lives at `~/homelab` on the Mac mini. Key paths:
| Path | Purpose |
| -------------------------- | ---------------------------------------------- |
| `scripts/platform-up` | Start all platform services (Caddy, Authentik…) |
| `scripts/app-up <app>` | Start a single app (e.g., `immich`) |
| `scripts/app-backup <app>` | Snapshot an app's volumes to backup dir |
| `scripts/app-update <app>` | Pull latest images and recreate an app |
| `scripts/dr-verify` | Verify disaster-recovery readiness |
| `platform/` | Platform service compose files |
| `apps/` | App compose files (immich, etc.) |
| `DESIGN.md` | Architecture reference |
| `docs/` | Operational procedures, runbooks, ADRs |
## Docker Compose Commands
All services use Docker Compose. Compose files live in their respective directories.
```bash
# List running containers
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"
# Restart a specific service
cd ~/homelab/platform/caddy && docker compose restart
# View logs (last 50 lines, follow)
docker compose -f ~/homelab/apps/immich/compose.yml logs --tail 50 -f
# Pull latest images for an app
cd ~/homelab/apps/immich && docker compose pull && docker compose up -d
# Check resource usage
docker stats --no-stream --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}"
```
## Platform Scripts
… Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
sections -> Repository Layout → Docker Compose Commands → Platform Scripts → Start the entire platform → Backup an application → Update an application
terms -> Never run destructive commands · You can manage the homelab platform through shell scripts and Docker commands. · The homelab repo lives at ~/homelab on the Mac mini. · All services use Docker Compose. · Always use the provided scripts when they exist — they handle ordering, health checks, and logging. · Starts services in dependency order: networking → Caddy → Authentik → Homepage → Dockge → Uptime Kuma. · Creates a timestamped snapshot of all named volumes for the app. · Pulls latest images, recreates containers, verifies health.
files/cmd -> ~/homelab · scripts/platform-up · scripts/app-up <app> · immich · scripts/app-backup <app> · scripts/app-update <app> · scripts/dr-verify · platform/
body sha256 -> 98f975987eae
Decide Fit First
Design Intent
How To Use It
Boundaries And Review