-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.cuda.yml
49 lines (45 loc) · 1.17 KB
/
docker-compose.cuda.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
version: "3.9"
x-podman: &podman
userns_mode: keep-id
security_opt:
- "label=disable"
x-logging: &default-logging
driver: json-file
options:
mode: non-blocking
max-buffer-size: 4m
volumes:
ovos_stt_fasterwhisper_cache:
name: ovos_stt_fasterwhisper_cache
driver: local
ovos_stt_fasterwshiper_gradio_cache:
name: ovos_stt_fasterwshiper_gradio_cache
driver: local
services:
ovos_stt_fasterwhisper:
<<: *podman
container_name: ovos_stt_fasterwhisper
hostname: ovos_stt_fasterwhisper
restart: unless-stopped
image: docker.io/smartgic/ovos-stt-server-fasterwhisper-cuda:${VERSION}
logging: *default-logging
pull_policy: always
tty: true
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities:
- gpu
environment:
TZ: $TZ
CT2_CUDA_ALLOW_FP16: 1
ports:
- "8080:8080"
volumes:
- ${CONFIG_FOLDER}:/home/${OVOS_USER}/.config/mycroft:ro,z
- ovos_stt_fasterwhisper_cache:/home/${OVOS_USER}/.cache
- ovos_stt_fasterwshiper_gradio_cache:/home/${OVOS_USER}/gradio_cached_examples