Commit Graph
111 Commits
Author SHA1 Message Date
Nikolas Garza ec1ed831c0 fix(deployment): keep MinIO and its copy service stopped on a fresh Compose install (#16429)
## Description

A fresh hand-run Compose install no longer starts MinIO or
`object-store-copy`. Fixes
[ENG-4429](https://linear.app/onyx-app/issue/ENG-4429/a-fresh-manual-compose-install-still-starts-minio).

**Why**
- With the v5 compose file and `env.template` defaults, MinIO started on
a fresh install. Only onyx-cli set `MINIO_REPLICAS=0`.
- Even with it set, `object-store-copy` started and idled forever.

**What**
- `env.template` sets `MINIO_REPLICAS=0`, since a fresh install never
held files in MinIO.
- `object-store-copy` follows `MINIO_REPLICAS` like `minio` does.
- The compose default stays `1`, so an earlier release's `.env`, which
lacks the variable, keeps MinIO and the copy running.
- `env.prod.template` names the object store, the S3 key pair and
`MINIO_REPLICAS=0`. A fresh prod `.env` defaulted the app to MinIO
before.
- The retire step stops MinIO with `docker compose up -d --no-deps minio
object-store-copy`, since a plain `up -d` recreates every service that
loads `.env`.
- Not changed: Compose still creates the empty `minio_data` volume for a
zero-replica service. Only a profile split across the CLI, ods, CI and
installers would avoid it.

Docs: https://github.com/onyx-dot-app/documentation/pull/521

## How Has This Been Tested?

Live on scratch Compose projects with the v5.0.0-beta.2 images. A `.env`
copied from the new `env.template` ran only `object-store` and
`relational_db`, with no `minio` or `object-store-copy` container. An
upgraded `.env` without `MINIO_REPLICAS` ran `minio` and
`object-store-copy`, and the copy started. `docker compose config` shows
replicas 0 and 1 for the two cases. With `docker-compose.prod.yml` and a
fresh `env.prod.template` plus keys, `api_server` points at
`object-store` and `minio` and `object-store-copy` are at 0, and empty
keys still refuse to start. `go test ./...` in `cli` passes. In
`tools/ods`, `TestDevcontainerCommands` and `TestRunDevRebuild` fail
locally because `SSH_AUTH_SOCK` adds a mount, which is unrelated.

## Additional Options

- [ ] [Optional] Please cherry-pick this PR to the latest release
version.
2026-10-21 22:34:45 +00:00
roshanandDevin AI 8ce6fab7c5 feat(deployment): run the MCP server by default in docker compose (#15963)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-13 19:55:58 +00:00
Nikolas Garza 24812944ef chore(code-interpreter): bump to 0.4.9 (#15506) 2026-10-02 22:05:59 +00:00
Yuhong SunandClaude Opus 5.5 8ced9bc01f chore: remove Vespa and consolidate the document index interface (#15336)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 19:22:34 +00:00
Nikolas Garza bf98589c22 feat(file-store): copy MinIO's files into the object store and retire it (#15250) 2026-09-30 20:02:17 +00:00
Nikolas Garza cfe73b7a72 feat(file-store): write to both stores and fall back to MinIO during the move (#15249) 2026-09-30 20:02:16 +00:00
Nikolas Garza 6df60263f7 feat(deployment): add the SeaweedFS object-store service beside MinIO (#15248) 2026-09-30 20:02:15 +00:00
Justin Tahara 817f41fc79 feat(code-interpreter): integrate Code Interpreter 0.4.8 with admission retries (#15131) 2026-09-25 22:20:56 +00:00
Nikolas Garza f61e05131f fix(enterprise-settings): remove the Hide Onyx Branding toggle (#15112) 2026-09-24 21:20:41 +00:00
Nikolas Garza 9987d2b9f9 fix(deployment): pull MinIO from our own Docker Hub mirror (#15086) 2026-09-24 16:36:46 +00:00
Jamison LahmanandClaude Fable 5.1 2e7bb6c6d5 fix(deployment): pull MinIO from quay.io and pin the latest release by digest (#14689)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 13:23:54 -07:00
Jamison Lahman b047585877 chore: upgrade code-interpreter to v0.4.7 (#14624) 2026-09-10 19:25:57 +00:00
Jamison LahmanandClaude Opus 5 71778e0d01 feat(deployment): add a healthcheck to the code-interpreter service (#14554)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 20:15:16 +00:00
Jamison LahmanandClaude Opus 5 e6f17949ad fix(deployment): pin the code-interpreter image (#14553)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 19:47:55 +00:00
5ba7e243fc chore(deployment): generate docker compose variants from a shared template (#13487)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: onyx-cherry-pick[bot] <285052878+onyx-cherry-pick[bot]@users.noreply.github.com>
2026-07-28 17:34:30 +00:00
Jamison LahmanandClaude Fable 5 e52d68d0ab fix(build): remove dev tools from the default backend image, publish a -dev variant (#13441)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-27 18:05:41 +00:00
Jamison LahmanandClaude Opus 4.8 d557bd3702 refactor(model-server): gate DISABLE_MODEL_SERVER in python entrypoint (#12754)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 23:48:13 +00:00
Jamison LahmanandClaude Opus 4.8 26868070e6 fix(security): harden default MinIO/S3 object-storage credentials (#12003)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 19:27:18 +00:00
WenxiandClaude Opus 4.7 06bcd26fb5 chore(craft): drop dead build configs and trim comments (#11543)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-29 19:57:15 +00:00
Jamison LahmanandClaude Opus 4.7 c8f17c249b chore(deploy): replace bespoke nginx healthcheck in init-letsencrypt.sh (#11382)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 20:32:56 +00:00
acaprau fa8fc678f9 feat(opensearch): Remove Vespa as an option entirely (#11207) 2026-05-20 02:03:45 +00:00
acaprau c93f239664 chore(opensearch): Bump docker compose OpenSearch image tag to 3.6.0 (#11117) 2026-05-15 01:51:57 +00:00
Nikolas Garza 3c6ec8bf12 fix(deploy): add opensearch to depends_on so init-letsencrypt brings it up (#10722) 2026-04-30 01:06:06 +00:00
Evan Lohn 276261c96d fix: windows installer (#9507) 2026-03-20 22:53:46 +00:00
Jamison Lahman 91e24ae63a fix(code-interpreter): set default CODE_INTERPRETER_BASE_URL w/ docke… (#9215) 2026-03-10 00:50:10 +00:00
acaprau 87f0849330 feat(opensearch): Enable by default (#9211) 2026-03-09 17:30:32 -07:00
Evan Lohn 367808951c chore: remove lightweight mode (#9014) 2026-03-04 18:26:05 +00:00
Justin Tahara 78c6ca39b8 fix(minio): No cURL in minio container (#8876) 2026-02-27 22:37:42 +00:00
Danelegend d922a42262 feat: code interpreter docker default deploy (#8672) 2026-02-24 23:51:19 +00:00
Chris Weaver 0504335a7b fix: local indexing for craft (#7959) 2026-01-28 16:12:25 -08:00
Justin Tahara 52a312a63b feat: onyx discord bot - supervisord and kube deployment (#7706) 2026-01-23 20:55:06 +00:00
Wenxi 755c65fd8a feat: url builder for api server http requests (#7442) 2026-01-16 17:52:47 +00:00
Raunak Bhagat 8a0ce4c294 feat: Feedback modals update (#7380) 2026-01-13 19:48:45 +00:00
Yuhong Sun 06ce7484b3 chore: docker compose no MCP server (#7100) 2025-12-29 16:40:15 -08:00
Chris Weaver 959b8c320d fix: don't leave redis ports exposed (#6814) 2025-12-17 12:06:10 -08:00
Jamison Lahman 9055691c38 chore(docker): explicitly default env to empty string (#6511) 2025-12-02 01:25:39 +00:00
Wenxi bc35354ced feat(MCP): basic Onyx MCP server with search tools and indexed sources resource (#6309) 2025-11-25 02:30:55 +00:00
Wenxi e74cf14401 chore(docker): make container startup checks case-less-sensitive (#6412) 2025-11-24 20:48:23 +00:00
Chris Weaver 33fee46d71 feat: code interpreter (python) (#6136) 2025-11-22 07:19:25 +00:00
mristau-alltrails 7eb13db6d9 SECURITY FIX: CVE-2023-38545 and CVE-2023-38546 (#6356) 2025-11-20 20:11:35 +00:00
Justin Tahara 6677e12e55 chore(vespa): Update version (#6299) 2025-11-18 09:50:38 -08:00
Wenxi cf187e8f58 fix: stop redis from spawning anonymous volumes (#5969) 2025-10-29 01:22:12 +00:00
edwin-onyxandEdwin Luo 3a4bb239b1 fix(infra): consolidate heavy, monitoring, and user file worker into one (#5558)
Co-authored-by: Edwin Luo <edwin@parafin.com>
2025-10-14 01:19:47 +00:00
Chris Weaver d803b48edd feat: Increase nginx default timeout (#5677) 2025-10-09 22:13:18 +00:00
Chris Weaver a85a5a324e More prod fixes (#5556) 2025-09-30 14:43:21 -07:00
Chris Weaver 2c422215e6 Fix prod compose (#5553) 2025-09-30 10:41:38 -07:00
Yuhong Sun 2e0bc8caf0 feat: Easy Install (#5461) 2025-09-24 15:31:45 -07:00
Sam Waddell c4076d16b6 fix: update all log paths to reflect change related to non-root user (#5244) 2025-08-25 14:11:18 -07:00
Sam WaddellandPhil Critchfield 5867ab1d7d feat: add non-root user to backend and model-server images (#5134)
* feat: add non-root user to backend and model-server image

* feat: update values to support security context for index, inference, and celery_shared

* feat: add security context support for index and inference

* feat: add celery_shared security context support to celery worker templates

* fix: cache management strategy

* fix: update deployment files for volume mount

* fix: address comments

* fix: bump helm chart version for new security context template changes

* fix: bump helm chart version for new security context template changes

* feat: move useradd earlier in build for reduced image size

---------

Co-authored-by: Phil Critchfield <phil.critchfield@liatrio.com>
2025-08-20 13:49:50 -07:00
Devin 508b456b40 fix: explicit api_server dependency on minio in docker compose files (#5066) 2025-07-23 13:37:42 -07:00