-
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.63 KB
/
docker-compose.yml
File metadata and controls
65 lines (61 loc) · 1.63 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:
app:
build: .
ports:
- "8000:8000"
volumes:
- ./uploads:/app/uploads
- ./static:/app/static
- shared_tmp:/tmp
environment:
- MEILISEARCH_HOST=http://meilisearch:7700
- MEILISEARCH_API_KEY=${MEILI_MASTER_KEY:-masterKey}
- MEILISEARCH_INDEX=files
- REDIS_URL=redis://redis:6379/0
- OLLAMA_HOST=http://host.docker.internal:11434
- TRANSCRIPTION_API_URL=http://host.docker.internal:9000/transcribe/
- SKIP_OLLAMA_WARMUP=true
- ASSUME_OLLAMA_MODELS_EXIST=true
depends_on:
- redis
- meilisearch
extra_hosts:
- "host.docker.internal:host-gateway"
worker:
build: .
command: python worker.py
volumes:
- ./uploads:/app/uploads
- shared_tmp:/tmp
environment:
- MEILISEARCH_HOST=http://meilisearch:7700
- MEILISEARCH_API_KEY=${MEILI_MASTER_KEY:-masterKey}
- MEILISEARCH_INDEX=files
- REDIS_URL=redis://redis:6379/0
- OLLAMA_HOST=http://host.docker.internal:11434
- TRANSCRIPTION_API_URL=http://host.docker.internal:9000/transcribe/
- SKIP_OLLAMA_WARMUP=true
- ASSUME_OLLAMA_MODELS_EXIST=true
depends_on:
- redis
- meilisearch
extra_hosts:
- "host.docker.internal:host-gateway"
redis:
image: redis:alpine
ports:
- "6379:6379"
volumes:
- redis_data:/data
meilisearch:
image: getmeili/meilisearch:latest
ports:
- "7700:7700"
volumes:
- ./meili_data:/meili_data
environment:
- MEILI_NO_ANALYTICS=true
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY:-masterKey}
volumes:
redis_data:
shared_tmp: