Red tests first. - tests/homepage_deploy.bats: the deploy ships the homepage (assets to /srv/homepage, the checker timer, both Caddy hashes, deployed.js) and is git-driven (pulls main); the checker runs as a systemd timer. - scripts/homepage-status.service / .timer: the checker as a oneshot service + a 3-minute timer (Q2/Q35). - scripts/deploy.sh: the Caddyfile render now substitutes BOTH hashes (REPLACE_WITH_HASH <- CADDY_BASICAUTH_HASH, REPLACE_WITH_ADMIN_HASH <- CADDY_ADMIN_HASH). A new homepage step copies the assets to /srv/homepage, generates deployed.js from the deployed commit's datetime (Q43), installs the checker timer, and runs the checker once so status.json exists at once. - tests/llm_units.bats: scoped the three LLM-unit tests to frank-default-*.service (the homepage unit is a different pattern: it installs to /usr/local/bin and runs from /srv at deploy time).
Server App Configs
The single repository for the two homelab servers: the Podman container stacks and the LLM inference fleet. One repo, one checkout per host, one deploy script.
2026-08-22: the former
vllmScriptsrepository (LLM fleet) is merged into this repo with its full git history. See AGENTS.md for the merge note.
Targets
| Host | User | IP | Podman stack | LLM service | LLM port |
|---|---|---|---|---|---|
| dankserver | dank | 192.168.0.235 | media and library | frank-default-small (llama.cpp, Qwen3.6-35B-A3B) | 7770 |
| dankclaw | dank | 192.168.0.143 | AI, search, development, observability | frank-default-large (CIRU ROCmFPX, Qwen3.8-27B) | 7770 |
Active Services
| Service | Host | Hostname | Port |
|---|---|---|---|
| RomM | dankserver | romm.dankserver.local | 8085 |
| Copyparty | dankserver | files.dankserver.local | 3923 |
| Calibre-Web | dankserver | books.dankserver.local | 8083 |
| frank-default-small | dankserver | — (bare endpoint) | 7770 |
| SearXNG | dankclaw | search.dankclaw.local | 8081 |
| ComfyUI | dankclaw | comfyui.dankclaw.local | 8188 |
| OpenWebUI | dankclaw | chat.dankclaw.local | 3000 |
| Hermes | dankclaw | hermes.dankclaw.local | 8090 |
| Gitea | dankclaw | gitea.dankclaw.local | 3001 |
| Grafana | dankclaw | grafana.dankclaw.local | 3002 |
| Prometheus | dankclaw | prometheus.dankclaw.local | 9090 |
| frank-default-large | dankclaw | — (bare endpoint) | 7770 |
Structure
dankserver/— compose.yaml + Caddyfile + .env.example for the Dankserver stackdankclaw/— compose.yaml + Caddyfile + .env.example for the Dankclaw stackshared/— homepage, prometheus config, deploy helpersscripts/—deploy.sh(unified: stack + LLM), LLM serve scripts, systemd units, env tunables, bench harnessesold/— retired PP/NPU-era LLM scripts (reference only)docs/— project knowledge base (Obsidian vault, wikilinks).docs/LLM/is the LLM fleettests/— bats test suite (see Testing Policy)
Deployment
See docs/Architecture/Deployment Flow.md
and docs/LLM/deployment.md. Run
./scripts/deploy.sh <dankclaw|dankserver> after pushing committed changes.
It pushes, pulls on the target, restarts the podman stack and the LLM
service, and checks both health endpoints.
Knowledge Base
The docs/ directory is an Obsidian vault. Start at
docs/index.md. The LLM fleet knowledge base lives at
docs/LLM/index.md.
Testing
Run ./tests/run.sh before every push. See
docs/Architecture/Testing Policy.md.