-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
39 lines (31 loc) · 1.13 KB
/
env.example
File metadata and controls
39 lines (31 loc) · 1.13 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
# Phonebooth Environment Variables
# Copy this file to .env and update the values as needed
# The .env file is gitignored for security
# API Key for Bearer token authentication
# When set, all API endpoints (except /demo) require Authorization: Bearer <key> header
# Leave empty to disable authentication
API_KEY=
# Enable the /demo endpoint
# Set to true, 1, or yes to enable the demo page
# Default: false (demo page disabled)
ENABLE_DEMO=false
# Enable OpenAPI documentation (Swagger UI)
# Set to false, 0, or no to disable the docs endpoint
# Default: true (docs enabled at /)
ENABLE_DOCS=true
# Root path when served behind a reverse proxy at a subroute
# Set to the subroute path (e.g., /api/phonebooth) when behind nginx
# Leave empty for root deployment
# Example: /api/phonebooth
ROOT_PATH=
# Agree to XTTS terms of service
# Must be set to 1 to silence the XTTS licence prompt
COQUI_TOS_AGREED=1
# Reduce TensorFlow/Whisper log spam
# Set to 2 to reduce verbose logging
# Optional
# GLOG_minloglevel=2
# Limit GPU visibility (Docker only)
# Set to specific GPU index (e.g., 0) or leave empty for all GPUs
# Optional
# NVIDIA_VISIBLE_DEVICES=0