Skip to content

Docker 컨테이너 배포 ​

OneTTS는 설정 없이 바로 실행할 수 있는 프로덕션용 Docker 이미지와 docker-compose.yml을 제공하여 원클릭 배포를 지원합니다.


🚀 Docker Compose 빠른 시작 ​

1. 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. 컨테이너 실행 ​

bash
docker compose up -d

3. 상태 확인 ​

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

Released under the Apache-2.0 License.