-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathcompose.yml
31 lines (31 loc) · 834 Bytes
/
compose.yml
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:
faster-whisper:
tty: true
image: subplease:latest
container_name: subplease
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- WHISPER_MODEL=tiny-int8
- WHISPER_BEAM=1 #optional
- WHISPER_LANG=ja #optional
volumes:
- ./:/app
- /home/ke/code/subplz/SyncCache:/app/SyncCache
- /home/ke/code/subplz/SyncCache/config:/config
- /mnt/d/sync:/sync
ports:
- 10300:10300
restart: unless-stopped
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities:
- gpu
- utility # nvidia-smi
- compute # CUDA
- video # NVDEC/NVENC/NVCUVID. For instance to use a hardware accelerated ffmpeg. Skip it if you don't need it