-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (57 loc) · 1.37 KB
/
docker-compose.yml
File metadata and controls
63 lines (57 loc) · 1.37 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
version: "3.8"
services:
qdrant:
image: qdrant/qdrant:latest
restart: unless-stopped
volumes:
- ./data/qdrant:/qdrant/storage
networks:
- internal
api:
build: ./api
restart: unless-stopped
environment:
- AUTO_TAGS=1
- AUTO_TAGS_OVERWRITE=1
- AUTO_TAGS_TOPK=5
- AUTOTAGS_MODE=merge
- CAPTION_MODE=basic
- AUTO_TAGS_MIN_SIM=0.28
- QDRANT_URL=http://qdrant:6333
- COLLECTION_NAME=sfx
- DB_PATH=/app/data/meta.sqlite3
- LIBRARY_DIR=/app/library
- CLAP_MODEL=laion/clap-htsat-unfused
- SYNONYMS_PATH=/app/config/synonyms.json
- SIM_WEIGHT=0.9
- KW_WEIGHT=0.1
volumes:
# Option A: local library without Seafile
- ./library:/app/library
# Option B: If you wanna use Seafile to storage and upload sounds Seafile
# - /path/a/tu/seafile/sounds:/app/library
- ./data:/app/data
- ./config:/app/config
depends_on:
- qdrant
ports:
- "8000:8000"
networks:
- internal
ui:
build: ./ui
restart: unless-stopped
environment:
- API_URL=http://api:8000
- API_URL_PUBLIC=http://localhost:8000
- GRADIO_SERVER_NAME=0.0.0.0
- GRADIO_SERVER_PORT=7860
depends_on:
- api
ports:
- "7860:7860"
networks:
- internal
networks:
internal:
driver: bridge