piper / docker-compose.yml
Guru-25's picture
v0.18.2
d1b59ba verified
raw
history blame contribute delete
505 Bytes
services:
server:
build:
dockerfile: Dockerfile
image: ghcr.io/matatonic/openedai-speech
env_file: speech.env
ports:
- "8000:8000"
volumes:
- ./voices:/app/voices
- ./config:/app/config
# To install as a service
restart: unless-stopped
deploy:
resources:
reservations:
devices:
- driver: nvidia
#device_ids: ['0', '1'] # Select a gpu, or
count: all
capabilities: [gpu]