docs: env-agnostic deploy (APP_HOSTNAME, inventory, Caddy order)

DEPLOYMENT is host-variable: APP_HOST/APP_HOSTNAME/ports, inventory
worksheet, corrected Caddy handle /api/* before frontend. Drop RemBG
and output_px 1000 as deploy SoT. AGENTS §9, README, IMPL host wording
match. Historical .201 lab is a non-normative callout only.
This commit is contained in:
2026-09-01 05:26:45 +00:00
parent 48720d83e1
commit 369d404c29
5 changed files with 133 additions and 47 deletions
+5 -4
View File
@@ -144,7 +144,8 @@ Encode TECH-SPEC exactly:
## 9. Deploy sketch (see DEPLOYMENT.md)
- Target: `.201`, Docker Compose (`frontend` + `fastapi`) + Caddy → `slab.tyubumini.local` (LAN/Tailscale).
- Inventory host ports/Caddy before binding (bolt.diy collision risk).
- Health: `GET /api/health`.
- Inference is a remote configurable endpoint, not on `.201` by default.
- Target: inventoried Docker host. Docker Compose (`frontend` + `fastapi`) + Caddy → `https://${APP_HOSTNAME}` (LAN/Tailscale).
- Fill `deploy/INVENTORY.md` before binding ports or merging Caddy (co-resident apps can collide; bolt.diy is one example).
- Health: `GET https://${APP_HOSTNAME}/api/health`.
- Inference is a remote configurable endpoint, not on the app host by default.
- Historical lab IP/hostname examples in older notes are non-normative.