Created
August 2, 2023 16:24
-
-
Save siddharthsarda/d3cc34bcadd3044902d5fbd65cb67ba5 to your computer and use it in GitHub Desktop.
A sample docker-compose file for running langchainjs applications with chromadb
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
version: '1.0' | |
services: | |
db: | |
image: ghcr.io/chroma-core/chroma:latest | |
platform: linux/amd64 | |
volumes: | |
- index_data:/index_data | |
ports: | |
- 8000:8000 | |
environment: | |
- HNSWLIB_NO_NATIVE=1 | |
chatfiles: | |
image: lab42/chatfiles:latest | |
container_name: filechat | |
ports: | |
- 3000:3000 | |
environment: | |
- OPENAI_TYPE=${OPENAI_TYPE} | |
- OPENAI_API_KEY=${OPENAI_API_KEY} | |
- CHROMA_DB_URL=http://db:8000 | |
depends_on: | |
- db | |
volumes: | |
index_data: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment