diff --git a/charts/chromadb-chart/Chart.yaml b/charts/chromadb-chart/Chart.yaml index ccc90a0..1d1490b 100644 --- a/charts/chromadb-chart/Chart.yaml +++ b/charts/chromadb-chart/Chart.yaml @@ -16,6 +16,6 @@ keywords: - ai/ml type: application -version: 0.1.16 +version: 0.1.17 # chromadb version appVersion: "0.4.13" diff --git a/image/docker_entrypoint.sh b/image/docker_entrypoint.sh index d666279..7c464b5 100755 --- a/image/docker_entrypoint.sh +++ b/image/docker_entrypoint.sh @@ -2,6 +2,9 @@ export CHROMA_SERVER_HTTP_PORT=${CHROMA_SERVER_HTTP_PORT:-8000} export CHROMA_SERVER_LOG_CONFIG=${CHROMA_SERVER_LOG_CONFIG:-log_config.yaml} export CHROMA_SERVER_HOST=${CHROMA_SERVER_HOST:-"0.0.0.0"} + +sudo chown -R chroma:chroma ${PERSIST_DIRECTORY} + . /chroma/venv/bin/activate pip install --force-reinstall --no-cache-dir chroma-hnswlib uvicorn chromadb.app:app --workers 1 --host ${CHROMA_SERVER_HOST} --port ${CHROMA_SERVER_HTTP_PORT} --proxy-headers --log-config ${CHROMA_SERVER_LOG_CONFIG}