-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
37 lines (35 loc) · 909 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
version: '3.9'
networks:
net:
driver: bridge
services:
chromadb-server:
image: ghcr.io/chroma-core/chroma:latest
environment:
- IS_PERSISTENT=TRUE
volumes:
# Default configuration for persist_directory in chromadb/config.py
# Currently it's located in "/chroma/chroma/"
- chroma-data:/chroma/chroma/
ports:
- 8000:8000
networks:
- net
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:8000/docs']
interval: 30s
timeout: 10s
retries: 5
web-server:
build: .
ports:
- 3030:3030
depends_on:
chromadb-server:
condition: service_healthy
networks:
- net
platform: linux/x86_64
volumes:
chroma-data:
driver: local