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.
This commit is contained in:
NaeemDosh 2026-06-30 12:25:36 +05:00
parent bbd9835558
commit 63639567d0

View file

@ -1,28 +0,0 @@
# ─────────────────────────────────────────────────────────────────────────────
# 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: ./web
dockerfile: Dockerfile
pull_policy: never