mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-15 12:50:42 -07:00
- Introduced Docker support with CPU-only and GPU-enabled configurations via Dockerfiles and docker-compose files. - Added a .dockerignore file to exclude unnecessary files from Docker images. - Updated bun.lock and package.json to include new dependencies for icon handling. - Enhanced README with Docker usage instructions and deployment options. - Refactored components to utilize new icon libraries for improved UI consistency.
35 lines
747 B
YAML
35 lines
747 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
voicebox:
|
|
image: ghcr.io/jamiepine/voicebox:latest-cuda
|
|
container_name: voicebox
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- voicebox-data:/app/data
|
|
- huggingface-cache:/root/.cache/huggingface
|
|
environment:
|
|
- GPU_MEMORY_FRACTION=0.8
|
|
- LOG_LEVEL=info
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: 1
|
|
capabilities: [gpu]
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
|
|
volumes:
|
|
voicebox-data:
|
|
driver: local
|
|
huggingface-cache:
|
|
driver: local
|