-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
65 lines (61 loc) · 1.42 KB
/
docker-compose.yml
File metadata and controls
65 lines (61 loc) · 1.42 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
services:
api:
build: .
container_name: decksage-api
ports:
- "${API_PORT:-8000}:8000"
env_file: .env
environment:
- MEILISEARCH_URL=http://meilisearch:7700
- QDRANT_URL=http://qdrant:6333
- PYTHONUNBUFFERED=1
- TERM=xterm-256color
volumes:
- ./src:/app/src:ro
- ./data:/app/data:ro
- ./frontend:/app/frontend:ro
depends_on:
meilisearch:
condition: service_healthy
qdrant:
condition: service_healthy
tty: true
init: true
networks:
- decksage
meilisearch:
image: getmeili/meilisearch:v1.30.0
container_name: decksage-meilisearch
ports:
- "${MEILISEARCH_PORT:-7700}:7700"
environment:
- MEILI_MASTER_KEY=${MEILISEARCH_KEY:-}
- MEILI_ENV=${ENVIRONMENT:-development}
volumes:
- meilisearch_data:/meili_data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7700/health"]
interval: 10s
timeout: 5s
retries: 5
networks:
- decksage
qdrant:
image: qdrant/qdrant:v1.16.3
container_name: decksage-qdrant
ports:
- "${QDRANT_PORT:-6333}:6333"
volumes:
- qdrant_data:/qdrant/storage
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:6333/health"]
interval: 10s
timeout: 5s
retries: 5
networks:
- decksage
volumes:
meilisearch_data:
qdrant_data:
networks:
decksage: