Files
alltalk_tts/docker-compose.yml
T
David Kirchner 663e267d4c Allow user to specify a docker image using compose
This makes it easier to test local changes. Usage is basically:

$ docker build -t whatever:latest .
$ IMAGE=whatever:latest docker compose up -d
2024-06-11 09:36:26 -07:00

22 lines
552 B
YAML

version: '3.8'
services:
alltalk-tts:
image: ${IMAGE:-alltalk:v1-9c}
restart: unless-stopped
ports:
- "7851:7851"
- "7852:7852"
volumes:
- ./outputs:/app/outputs/
- ./models:/app/models/
- ./voices:/app/voices/
- ./finetune/put-voice-samples-in-here:/app/finetune/put-voice-samples-in-here
- ./dockerconfig.json:/app/confignew.json
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [ gpu ]