| # Docker environment configuration template | |
| # Copy to .env and customize as needed | |
| # Server settings | |
| POCKET_TTS_PORT=49112 | |
| POCKET_TTS_LOG_LEVEL=INFO | |
| POCKET_TTS_STREAM_DEFAULT=true | |
| # Model language (requires pocket-tts>=2.0.0) | |
| # Options: english, french_24l, german_24l, portuguese, italian, spanish_24l | |
| # Mutually exclusive with POCKET_TTS_MODEL_PATH | |
| # POCKET_TTS_LANGUAGE=english | |
| # Enable int8 quantization for lower memory usage and improved speed | |
| # POCKET_TTS_QUANTIZE=false | |
| # Custom voices directory (mounted to container) | |
| POCKET_TTS_VOICES_DIR=./super-voices | |
| # Hugging Face token for voice cloning (optional) | |
| # Get your token from: https://huggingface.co/settings/tokens | |
| # HF_TOKEN=hf_xxxxxxxxxxxxx | |
| # Writable cache for per-model cloned voice safetensors | |
| # Defaults to <app_base>/voice_cache. In Docker this is /app/voice_cache backed | |
| # by the `pockettts-voice-cache` named volume. | |
| # POCKET_TTS_VOICE_CACHE_DIR=/path/to/cache | |