28 lines
656 B
YAML
28 lines
656 B
YAML
services:
|
|
vocoloom:
|
|
image: git.orfel.de/jannik/vocoloom:latest
|
|
container_name: vocoloom
|
|
restart: unless-stopped
|
|
ports:
|
|
- "7860:7860"
|
|
environment:
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
|
- VOCOLOOM_PORT=7860
|
|
- VOCOLOOM_HOST=0.0.0.0
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: 1
|
|
capabilities: [gpu]
|
|
volumes:
|
|
- ./voices:/app/voices
|
|
- ./models:/app/models
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://127.0.0.1:7860/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 30s
|