forked from bcefghj/noteking-pro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.gpu.yml
More file actions
33 lines (31 loc) · 837 Bytes
/
Copy pathdocker-compose.gpu.yml
File metadata and controls
33 lines (31 loc) · 837 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
32
33
version: "3.9"
services:
web:
build:
context: .
dockerfile: Dockerfile.gpu
ports:
- "8000:8000"
environment:
- NOTEKING_LLM_API_KEY=${NOTEKING_LLM_API_KEY}
- NOTEKING_LLM_BASE_URL=${NOTEKING_LLM_BASE_URL:-}
- NOTEKING_LLM_MODEL=${NOTEKING_LLM_MODEL:-gpt-4o-mini}
- NOTEKING_PROXY=${NOTEKING_PROXY:-}
- BILIBILI_SESSDATA=${BILIBILI_SESSDATA:-}
- HF_TOKEN=${HF_TOKEN:-}
volumes:
- noteking_output:/app/noteking_output
- noteking_cache:/root/.noteking
- huggingface_cache:/root/.cache/huggingface
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
restart: unless-stopped
volumes:
noteking_output:
noteking_cache:
huggingface_cache: