forked from cheshire-cat-ai/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (36 loc) · 917 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
version: '3.7'
services:
cheshire-cat-core:
build:
context: ./core
container_name: cheshire_cat_core
depends_on:
- cheshire-cat-vector-memory
environment:
- PYTHONUNBUFFERED=1
- CORE_HOST=${CORE_HOST:-localhost}
- CORE_PORT=${CORE_PORT:-1865}
- CORE_USE_SECURE_PROTOCOLS=${CORE_USE_SECURE_PROTOCOLS:-}
- API_KEY=${API_KEY:-}
- LOG_LEVEL=${LOG_LEVEL:-WARNING}
ports:
- ${CORE_PORT:-1865}:80
volumes:
- ./core:/app
command:
- uvicorn
- cat.main:cheshire_cat_api
- --host
- "0.0.0.0"
- --port
- "80"
- --reload # take away in prod
restart: unless-stopped
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