From 63639567d02e16c74ecab739bd4478623d07bff7 Mon Sep 17 00:00:00 2001 From: NaeemDosh Date: Tue, 30 Jun 2026 12:25:36 +0500 Subject: [PATCH] Consolidate into one docker-compose; restore minio; publish local port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- docker-compose.branding.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 docker-compose.branding.yml diff --git a/docker-compose.branding.yml b/docker-compose.branding.yml deleted file mode 100644 index 9c8b7d6..0000000 --- a/docker-compose.branding.yml +++ /dev/null @@ -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