diff --git a/CLAUDE.md b/CLAUDE.md index f47621e..8787e36 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -223,6 +223,14 @@ Observed and standardized across servers: tabs right now. Labels only apply at container **creation**, so a label edit needs `docker compose up -d `, not `restart`. + **Custom icons go in `stacks/homepage/images/` (→ `/app/public/images`, + served at `/images/`), NOT in the config dir.** Homepage v2 serves only + `custom.css` / `custom.js` out of `/app/config`, so `conf/icons/foo.svg` 404s + even though the file is plainly there in the container. ⚠ **And Next.js builds + its `public/` route manifest at container START** — a file dropped into the + mounted images dir 404s until you `docker restart homepage`, while files that + predate the start serve fine. That asymmetry reads exactly like a bad mount or + a permissions problem and is neither. Reference it as `icon: /images/`. - **Healthchecks** on services that expose HTTP ## Servers diff --git a/stacks/homepage/conf/services.yaml b/stacks/homepage/conf/services.yaml index 7b2c967..dc4d351 100644 --- a/stacks/homepage/conf/services.yaml +++ b/stacks/homepage/conf/services.yaml @@ -27,6 +27,15 @@ icon: mdi-filmstrip siteMonitor: http://10.100.10.50:8090/healthz description: Media drop + upload-for-pickup + the standing agent link board — nh3-dev, 24h TTL except kept boards + # Manual entry — talk is a Docker stack on nh3-dev, which is NOT one of the + # hosts in docker.yaml, so Homepage cannot discover it from labels. + # Icon: commissioned mark, copied into the images mount (see CLAUDE.md note + # about restarting Homepage after adding a file there). + - talk: + href: https://talk.nh3.phasefinal.com:8092/ + icon: /images/talk.svg + siteMonitor: https://talk.nh3.phasefinal.com:8092/ + description: TTS chat surface — type or speak, a fleet voice answers # Manual entry — WhereTF is a user-level systemd service on nh3-dev (Bun, # like the Booth), so Homepage can't auto-discover it. - WhereTF: diff --git a/stacks/homepage/images/talk.svg b/stacks/homepage/images/talk.svg new file mode 100644 index 0000000..3fc8314 --- /dev/null +++ b/stacks/homepage/images/talk.svg @@ -0,0 +1 @@ +