Skip to content

Docker Deployment ​

OneTTS provides production-ready Docker images and docker-compose.yml for zero-configuration, one-click deployment.


🚀 Quick Launch with Docker Compose ​

1. Download 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: 3

2. Start the Container ​

bash
docker compose up -d

3. Verify Health ​

bash
curl http://localhost:8030/health
# {"status":"ok","service":"OneTTS"}

Released under the Apache-2.0 License.