Skip to content

Commit 127a6ec

Browse files
committed
Langchain rag prototyping
1 parent f0b1ebf commit 127a6ec

25 files changed

+1869
-363
lines changed

compose.yaml

Lines changed: 6 additions & 6 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,16 @@ services:
2829
redis:
2930
image: redis/redis-stack-server
3031
container_name: gptwrapper_redis
31-
# volumes:
32-
# - redis_data:/data
32+
volumes:
33+
- redis_data:/data
3334

3435
chromadb:
3536
image: chromadb/chroma
3637
container_name: gptwrapper_chromadb
37-
command: chroma run --port 8001
38-
ports:
39-
- 8001:8001
4038
volumes:
4139
- chromadb_data:/data
4240

41+
# Comment out if you use local ollama. Set OLLAMA_URL=host.docker.internal:11434 if using recent Docker Desktop.
4342
# ollama:
4443
# image: ollama/ollama
4544
# ports:
@@ -49,5 +48,6 @@ services:
4948

5049
volumes:
5150
pg_data:
51+
redis_data:
5252
chromadb_data:
5353
ollama_data:

0 commit comments

Comments
 (0)