| services: | |
| tts: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| image: fish-audio-s2-pro-nvfp4-balanced:v1-cu130 | |
| init: true | |
| gpus: all | |
| shm_size: 8gb | |
| ports: | |
| - "${TTS_PORT:-8080}:8080" | |
| volumes: | |
| - .:/model:ro | |
| - ./runtime-data:/data | |
| environment: | |
| TTS_HOST: 0.0.0.0 | |
| TTS_PORT: 8080 | |
| TTS_DEVICE: ${TTS_DEVICE:-cuda:0} | |
| TTS_CACHE_LENGTH: ${TTS_CACHE_LENGTH:-3072} | |
| TTS_RUNTIME_DATA: /data | |
| TTS_VERIFY_CHECKSUMS: ${TTS_VERIFY_CHECKSUMS:-0} | |
| TTS_API_KEY: ${TTS_API_KEY:-} | |
| MAX_JOBS: ${MAX_JOBS:-2} | |
| restart: unless-stopped | |