Onyx's web Dockerfile now bases on Docker Hardened Images (dhi.io/node:24-debian13*),
which require a paid DHI subscription + `docker login dhi.io` — so `make build` fails
with a registry-login error for anyone without DHI access.
The apply overlay now rewrites those two FROM lines to the equivalent PUBLIC Docker
Hub node images (24-trixie / 24-trixie-slim, Debian 13 / glibc to match the DHI variant
the Dockerfile targets) and sets the runtime to the non-root `node` user, matching
upstream's posture — no docker login needed.
- branding.config.json: new build.baseImageReplacements map (config-driven)
- apply-branding.mjs: step 1b swaps DHI FROM lines (digest-stripped) + adds USER node;
idempotent, no-op with a warning if the DHI bases are absent (safe across upstream changes)
- README: upgrade note #3 documenting the swap
Verified end-to-end: full web image builds on the public bases (no login), serves 200,
and runs correctly as the non-root node user.
Follow-up to client testing on the flattened (sparse-checkout) structure.
- icons.tsx: swap inline OnyxLogoTypeIcon SVG (error/health pages, craft) for
the AIDO wordmark asset, via a new template + anchored, idempotent patch.
- Notification bell content is backend-generated (official image, not rebuilt),
so rebrand it at render time: generate lib/branding-runtime.ts from config and
route the notifications hook through it — sanitize 'Onyx'->brand and suppress
upstream/EE product notices (permissions-migration announcement, license/trial).
- Repoint hardcoded Onyx links/emails: Discord, support@onyx.app, '@onyx.app
administrators' (WebResultIcon hostname logic intentionally left untouched).
- .gitignore: ignore generated /web/, /data/, .onyx-sparse-tmp/ so 'make setup'
output can't be committed accidentally.
- README + verify updated for the new touchpoints.
Verified in the flattened layout: branded web image builds, 0 stray 'Onyx',
and bundle greps confirm all leaks gone.
Replace the nested `onyx/` full-clone approach with a flattened, self-contained
deployment structure:
- `make setup` now uses `git sparse-checkout` to fetch only `web/` and
`deployment/data/nginx/` from upstream, extracting them flat into `./web`
and `./data/nginx`. This avoids downloading the entire Onyx repository
when we only rebuild the branded web container ourselves.
- Add a top-level `docker-compose.yml` as the base stack file instead of
referencing paths inside `onyx/deployment/...`. This keeps the compose
project in the repo root so it can be managed by dockge and simplifies
putting Traefik in front of the Onyx nginx.
- Update `docker-compose.branding.yml` build context from `./onyx/web` to `./web`.
- Update `branding.config.json`:
- `webSrcRoot`: `onyx/web` → `web`
- `pinnedCommit`: pinned hash → `main`
- Add rename literals for "Open Source AI Platform" → "Powered by Livtec"
and `https://www.onyx.app` → `https://livtec.cloud`
- Replace the minimal `.env.example` with the full Onyx deployment template.
- Add `setup.sh` for server provisioning (Node.js 25, make, /opt/stacks/onyx).
- Update `make verify` to search `./web/src` instead of `./onyx/web/src`.
All backend/model services continue to use official upstream Docker images;
only the `web_server` image is built locally from the branded source.
Thin-overlay white-label: branding driven by a single config, applied into
onyx/web by apply-branding.mjs; only the web image is built locally while all
other services use official Onyx images.
- branding/branding.config.json: single source of truth (name, assets, links)
- branding/apply-branding.mjs: asset fetch + logo swap + favicon repoint + codemod
- docker-compose.branding.yml + Makefile: build only livtec/aido-web, pull the rest
- .env/.env.nginx examples + README (update-branding & upgrade-Onyx workflows)
Community Edition only; no EE/commercial features used.