Commit graph

54 commits

Author SHA1 Message Date
NaeemDosh
63639567d0 Consolidate into one docker-compose; restore minio; publish local port
Single self-contained docker-compose.yml for the client — no override chain:
- web_server uses the branded livtec/aido-web:local (built from ./web), pull_policy never
- restore the minio (S3 file store) service the flattened compose had dropped;
  api_server requires S3_ENDPOINT_URL=http://minio:9000 and can't start without it
- publish nginx on ${HOST_PORT:-3000} for out-of-the-box http://localhost:3000
  (Traefik labels still apply in prod)
- Makefile now targets the single file; drop docker-compose.branding.yml
- README updated for ./web layout, one-compose flow, USER_AUTH_SECRET + first-boot notes
- gitignore runtime data dirs (db_volume, model caches)

Verified: full stack converges healthy on one file; localhost:3000 and /api/health both 200.
2026-06-30 12:25:36 +05:00
NaeemDosh
bbd9835558 Fix remaining branding leaks: error-page logo/links + notification bell
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.
2026-06-29 22:57:50 +05:00
livdebus
1d650c4d30 refactor: flatten structure, sparse-checkout upstream, add base compose for dockge/traefik
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.
2026-06-29 12:43:31 +02:00
NaeemDosh
c6e3776617 AIDO white-label overlay for Onyx Community Edition
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.
2026-06-27 08:06:58 +05:00