31 lines
614 B
YAML
31 lines
614 B
YAML
services:
|
|
speaches:
|
|
image: ghcr.io/speaches-ai/speaches:latest-cuda
|
|
|
|
container_name: speaches
|
|
|
|
restart: unless-stopped
|
|
|
|
runtime: nvidia
|
|
|
|
user: '0'
|
|
|
|
environment:
|
|
TZ: Europe/Paris
|
|
HF_HOME: /home/ubuntu/.cache/huggingface
|
|
HF_HUB_CACHE: /home/ubuntu/.cache/huggingface/hub
|
|
|
|
ports:
|
|
- "18081:8000"
|
|
|
|
volumes:
|
|
- /var/lib/docker/volumes/speaches/models:/home/ubuntu/.cache/huggingface
|
|
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities:
|
|
- gpu |