-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
53 lines (48 loc) · 1.31 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
version: '3.7'
services:
cheshire-cat-core:
build:
context: ./core/core
container_name: cheshire_cat_core
depends_on:
- cheshire-cat-vector-memory
- embedder
environment:
- PYTHONUNBUFFERED=1
- WATCHFILES_FORCE_POLLING=true
- CORE_HOST=${CORE_HOST:-localhost}
- CORE_PORT=${CORE_PORT:-1865}
- QDRANT_HOST=${QDRANT_HOST:-cheshire_cat_vector_memory}
- QDRANT_PORT=${QDRANT_PORT:-6333}
- CORE_USE_SECURE_PROTOCOLS=${CORE_USE_SECURE_PROTOCOLS:-}
- API_KEY=${API_KEY:-}
- LOG_LEVEL=${LOG_LEVEL:-WARNING}
- DEBUG=${DEBUG:-true}
- SAVE_MEMORY_SNAPSHOTS=${SAVE_MEMORY_SNAPSHOTS:-false}
ports:
- ${CORE_PORT:-1865}:80
volumes:
- ./core/core:/app
command:
- python
- "-m"
- "cat.main"
restart: unless-stopped
embedder:
container_name: local_embedder
build:
context: ./
environment:
- CACHE_DIR=${CACHE_DIR:-./cache}
volumes:
- ./:/app
ports:
- ${PORT_EMBEDDER:-8000}:8000
cheshire-cat-vector-memory:
image: qdrant/qdrant:v1.1.1
container_name: cheshire_cat_vector_memory
expose:
- 6333
volumes:
- ./long_term_memory/vector:/qdrant/storage
restart: unless-stopped