forked from valentimarco/Local-Embedder
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
50 lines (45 loc) · 1.35 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
version: '3.7'
services:
local-embedder:
build:
context: ./embedder
environment:
- CACHE_DIR=${CACHE_DIR:-./cache}
volumes:
- ./embedder:/app
ports:
- ${PORT_EMBEDDER:-8000}:8000
# cheshire-cat-core:
# image: ghcr.io/cheshire-cat-ai/core:latest
# container_name: cheshire_cat_core
# depends_on:
# - cheshire-cat-vector-memory
# 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:/app
# command:
# - python
# - "-m"
# - "cat.main"
# 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