-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
43 lines (39 loc) · 977 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
networks:
net:
driver: bridge
services:
app:
build: .
container_name: langchain-streamlit-agent-container-dev
command: streamlit run ./start.py --server.port 8501
env_file:
- .env.dev
volumes:
- .:/app
ports:
- "8501:8501"
depends_on:
- chromadb
networks:
- net
chromadb:
image: chromadb/chroma:latest
# command: uvicorn chromadb.app:app --reload --workers 1 --host 0.0.0.0 --port 8000 --log-config log_config.yml
environment:
- IS_PERSISTENT=true
- ALLOW_RESET=TRUE
- PERSIST_DIRECTORY=/chroma/chroma # this is the default path
- ANONYMIZED_TELEMETRY=${ANONYMIZED_TELEMETRY:-TRUE}
ports:
- "8000:8000"
healthcheck:
test: ["CMD", "curl", "-f", "http://chromadb:8000/api/v1/heartbeat"]
interval: 30s
timeout: 10s
retries: 5
volumes:
- chroma-data:/chroma/chroma
networks:
- net
volumes:
chroma-data: