File size: 937 Bytes
d2ee1c3 37f4354 d2ee1c3 1e00f16 d2ee1c3 c25e31a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # 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
|