-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
237 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,27 @@ | ||
version: '3.4' | ||
|
||
services: | ||
chroma: | ||
image: chromadb/chroma | ||
weaviate: | ||
command: | ||
- --host | ||
- 0.0.0.0 | ||
- --port | ||
- '8080' | ||
- --scheme | ||
- http | ||
image: cr.weaviate.io/semitechnologies/weaviate:1.24.8 | ||
ports: | ||
- 8000:8000 | ||
volumes: | ||
- chroma_data:/var/lib/weaviate | ||
- 8080:8080 | ||
restart: on-failure:0 | ||
volumes: | ||
- weaviate_data:/var/lib/weaviate | ||
environment: | ||
QUERY_DEFAULTS_LIMIT: 25 | ||
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true' | ||
PERSISTENCE_DATA_PATH: '/var/lib/weaviate' | ||
DEFAULT_VECTORIZER_MODULE: 'none' | ||
ENABLE_MODULES: '' | ||
CLUSTER_HOSTNAME: 'node1' | ||
|
||
volumes: | ||
chroma_data: | ||
weaviate_data: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
#!/bin/bash | ||
#!/bin/sh | ||
|
||
set -m # to make job control work | ||
node .output/server/index.mjs --port 3000 --host 0.0.0.0 & | ||
chroma run --path /app/data/chroma --port 8000 --host 0.0.0.0 & | ||
|
||
export PERSISTENCE_DATA_PATH=/app/vectorstore | ||
export QUERY_DEFAULTS_LIMIT=25 | ||
export AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED='true' | ||
export ENABLE_MODULES='' | ||
export DEFAULT_VECTORIZER_MODULE='none' | ||
export CLUSTER_HOSTNAME='node1' | ||
weaviate --port 8000 --host 0.0.0.0 --scheme http & | ||
fg %1 # gross! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.