Despliegue con Docker
OneTTS proporciona imágenes de Docker listas para producción y docker-compose.yml para un despliegue con un solo comando y sin configuraciones complejas.
🚀 Inicio Rápido con Docker Compose
1. Descargar docker-compose.yml
yaml
services:
onetts:
image: codeandxv/onetts:latest
container_name: onetts-server
restart: unless-stopped
ports:
- "8030:8030"
volumes:
- ./config.yaml:/app/config.yaml:ro
- ./data:/app/data:rw
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8030/health"]
interval: 30s
timeout: 5s
retries: 32. Iniciar el Contenedor
bash
docker compose up -d3. Verificar el Estado
bash
curl http://localhost:8030/health
# {"status":"ok","service":"OneTTS"}