-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
79 lines (64 loc) · 4.99 KB
/
.env.example
File metadata and controls
79 lines (64 loc) · 4.99 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# OpenSpeakers Environment Configuration
# Copy to .env and edit as needed.
#
# QUICK START:
# cp .env.example .env
# ./scripts/download-models.sh
# docker compose up -d --build
#
# Database migrations run automatically on backend startup — no separate command needed.
# ─── Docker Compose Files ─────────────────────────────────────────────────────
# Tells `docker compose` which files to load automatically.
# Change to docker-compose.offline.yml for air-gapped installs.
COMPOSE_FILE=docker-compose.yml:docker-compose.override.yml:docker-compose.gpu.yml
# ─── Database ────────────────────────────────────────────────────────────────
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_DB=openspeakers
POSTGRES_USER=openspeakers
POSTGRES_PASSWORD=openspeakers
# ─── Redis ────────────────────────────────────────────────────────────────────
REDIS_HOST=redis
REDIS_PORT=6379
# REDIS_PASSWORD=
# ─── Celery ───────────────────────────────────────────────────────────────────
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/1
# ─── GPU ──────────────────────────────────────────────────────────────────────
# GPU device to use for TTS inference (0-indexed).
# A6000: 0 or 2 (48 GB each). 3080 Ti: 1 (12 GB).
GPU_DEVICE_ID=0
GPU_DEVICE=cuda
# ─── Model Cache ──────────────────────────────────────────────────────────────
# Where HuggingFace models are downloaded and cached.
# IMPORTANT: Must be owned by UID 1000 (container user) on the host.
MODEL_CACHE_DIR=./model_cache
# ─── Audio Output ─────────────────────────────────────────────────────────────
# Where generated audio files are stored.
AUDIO_OUTPUT_DIR=./audio_output
# ─── Service Ports ────────────────────────────────────────────────────────────
BACKEND_PORT=8080
FRONTEND_PORT=5200
# ─── Application ──────────────────────────────────────────────────────────────
ENVIRONMENT=development
SECRET_KEY=change_this_to_a_random_secret_key_in_production
LOG_LEVEL=INFO
# ─── Enabled Models ───────────────────────────────────────────────────────────
# Comma-separated list of model IDs to make available.
# Leaving empty enables all registered models.
ENABLED_MODELS=
# ─── VibeVoice ────────────────────────────────────────────────────────────────
VIBEVOICE_MODEL_PATH=microsoft/VibeVoice-Realtime-0.5B
# Alternatively use a local path: VIBEVOICE_MODEL_PATH=/models/VibeVoice-Realtime-0.5B
# ─── Fish Speech ──────────────────────────────────────────────────────────────
FISH_SPEECH_MODEL_PATH=fishaudio/s2-pro
# ─── Qwen3 TTS ────────────────────────────────────────────────────────────────
QWEN3_TTS_MODEL_PATH=Qwen/Qwen3-TTS
# ─── Kokoro ───────────────────────────────────────────────────────────────────
KOKORO_MODEL_PATH=hexgrad/Kokoro-82M
# ─── HuggingFace Token ────────────────────────────────────────────────────────
# Required for gated models (Orpheus 3B at canopylabs/orpheus-3b-0.1-ft).
# Create a token at https://huggingface.co/settings/tokens and accept the
# model license at https://huggingface.co/canopylabs/orpheus-3b-0.1-ft
# Leave blank to skip Orpheus — other 10 models work without a token.
HF_TOKEN=