Skip to content

Commit

Permalink
[BUG] CHROMA_SERVER_NOFILE cannot be overriden with env var in contai…
Browse files Browse the repository at this point in the history
…ner (#2209)

## Description of changes

Ref: #1404

*Summarize the changes made by this PR.*
 - Improvements & Bug fixes
- CHROMA_SERVER_NOFILE is not correctly overriden by user env var
provided in docker compose or .env file; defaults to 65536 otherwise.

## Test plan
*How are these changes tested?*

Manually tested

## Documentation Changes
N/A
  • Loading branch information
tazarov committed Jul 16, 2024
1 parent 49686be commit b148bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/docker_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e

export IS_PERSISTENT=1
export CHROMA_SERVER_NOFILE=65535
export CHROMA_SERVER_NOFILE=${CHROMA_SERVER_NOFILE:-65536}
args="$@"

if [[ $args =~ ^uvicorn.* ]]; then
Expand Down

0 comments on commit b148bf0

Please sign in to comment.