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.
28 lines
1.7 KiB
YAML
28 lines
1.7 KiB
YAML
# ─────────────────────────────────────────────────────────────────────────────
|
|
# Livtec / AIDO white-label override for Onyx Community Edition.
|
|
#
|
|
# This is a THIN OVERLAY on top of Onyx's own upstream compose file. Every service
|
|
# (backend, model servers, postgres, opensearch, redis, minio, nginx, …) is pulled
|
|
# UNCHANGED from the official images. The only thing we build locally is the web
|
|
# frontend — from ./onyx/web, into which branding/apply-branding.mjs has baked the
|
|
# AIDO logo, favicon, name and links.
|
|
#
|
|
# It is always used together with an upstream base file, e.g.:
|
|
# docker compose --project-directory . \
|
|
# -f onyx/deployment/docker_compose/docker-compose.prod-no-letsencrypt.yml \
|
|
# -f docker-compose.branding.yml build web_server
|
|
#
|
|
# (The Makefile in this directory wraps that for you: `make rebrand`.)
|
|
# ─────────────────────────────────────────────────────────────────────────────
|
|
services:
|
|
web_server:
|
|
# Tag the branded image under our own name so it never clobbers the official
|
|
# onyxdotapp/onyx-web-server image in the local cache.
|
|
image: livtec/aido-web:${AIDO_TAG:-local}
|
|
build:
|
|
# Project directory is the repo root (--project-directory .), so point the
|
|
# build context at the branded source. Everything else inherits from the
|
|
# upstream base file (Dockerfile, NEXT_PUBLIC build args).
|
|
context: ./onyx/web
|
|
dockerfile: Dockerfile
|
|
pull_policy: never
|