Skip to content

Commit 2dbbb86

Browse files
Merge pull request #347 from UniversityOfHelsinkiCS/langchain-rag
Langchain rag
2 parents 9fb2a30 + 559329b commit 2dbbb86

36 files changed

+7934
-4419
lines changed

compose.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ services:
66
image: gptwrapper_dev
77
environment:
88
- DATABASE_URL=postgres://postgres:postgres@db:5432/postgres
9-
- CHROMADB_URL=http://chromadb:8001
9+
- CHROMADB_URL=http://chromadb:8000
10+
- OLLAMA_URL=host.docker.internal:11434
1011
volumes:
1112
- ./:/opt/app-root/src
1213
ports:
@@ -28,18 +29,17 @@ services:
2829
redis:
2930
image: redis/redis-stack-server
3031
container_name: gptwrapper_redis
31-
# volumes:
32-
# - redis_data:/data
33-
34-
chromadb:
35-
image: chromadb/chroma
36-
container_name: gptwrapper_chromadb
37-
command: chroma run --port 8001
38-
ports:
39-
- 8001:8001
4032
volumes:
41-
- chromadb_data:/data
33+
- redis_data:/data
34+
35+
# ChromaDB not currently in use
36+
# chromadb:
37+
# image: chromadb/chroma
38+
# container_name: gptwrapper_chromadb
39+
# volumes:
40+
# - chromadb_data:/data
4241

42+
# Comment out if you use local ollama. Set OLLAMA_URL=host.docker.internal:11434 if using recent Docker Desktop.
4343
# ollama:
4444
# image: ollama/ollama
4545
# ports:
@@ -49,5 +49,6 @@ services:
4949

5050
volumes:
5151
pg_data:
52+
redis_data:
5253
chromadb_data:
5354
ollama_data:

0 commit comments

Comments
 (0)