-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (30 loc) · 799 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (30 loc) · 799 Bytes
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
services:
matrix:
build:
context: .
dockerfile: Dockerfile
image: matrix-live-diarizer:local
container_name: matrix
restart: unless-stopped
env_file:
- path: .env
required: false
ports:
- "${PORT:-8000}:${PORT:-8000}"
volumes:
- matrix-data:/app/data
- matrix-speakers:/app/engine/speaker/speaker_db
- matrix-uploads:/app/uploads
- matrix-models:/home/matrix/.cache/modelscope
- matrix-hf-cache:/home/matrix/.cache/huggingface
- matrix-torch-cache:/home/matrix/.cache/torch
extra_hosts:
# Mac/Windows 访问宿主机的 Ollama
- "host.docker.internal:host-gateway"
volumes:
matrix-data:
matrix-speakers:
matrix-uploads:
matrix-models:
matrix-hf-cache:
matrix-torch-cache: