Commit graph

3 commits

Author SHA1 Message Date
livdebus
4216fd1c13 minio commented out
We use external S3 provider, therefore we dont need minio
2026-06-30 21:02:24 +02:00
NaeemDosh
a7e31fcfbd Consolidate stack into one docker-compose.yml + restore minio + publish port
- web_server: branded livtec/aido-web:local from ./web, pull_policy never
- restore minio (S3 file store) the flattened compose dropped — api_server
  requires S3_ENDPOINT_URL=http://minio:9000 and won't start without it
- nginx published on ${HOST_PORT:-3000} → out-of-the-box http://localhost:3000
- Makefile targets the single file (no override chain)
- README: ./web layout, one-compose flow, USER_AUTH_SECRET + first-boot notes
- gitignore runtime data dirs (db_volume, model caches)

Verified: stack converges healthy on the single file; localhost:3000 + /api/health both 200.
2026-06-30 12:27:15 +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