-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.cuda.yml
49 lines (45 loc) · 1.11 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_tts_piper_cache:
name: ovos_tts_piper_cache
driver: local
ovos_tts_piper_gradio_cache:
name: ovos_tts_piper_gradio_cache
driver: local
services:
ovos_tts_piper:
<<: *podman
container_name: ovos_tts_piper
hostname: ovos_tts_piperls
restart: unless-stopped
image: docker.io/smartgic/ovos-tts-server-piper-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:
- "8089:9666"
volumes:
- ${CONFIG_FOLDER}:/home/${OVOS_USER}/.config/mycroft:ro,z
- ovos_tts_piper_cache:/home/${OVOS_USER}/.local/share/piper_tts
- ovos_tts_piper_gradio_cache:/home/${OVOS_USER}/gradio_cached_exampleV