-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
44 lines (40 loc) · 1.17 KB
/
Copy pathenv.example
File metadata and controls
44 lines (40 loc) · 1.17 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
# === Database Configuration ===
DB_DSN=postgres://username:password@host:port/gemfactory?sslmode=disable
POSTGRES_PASSWORD=gemfactory123
# === Bot Configuration ===
BOT_TOKEN=your_telegram_bot_token_here
ADMIN_USERNAME=your_admin_username
# === App Settings ===
LOG_LEVEL=info
TIMEZONE=Europe/Moscow
APP_DATA_DIR=./data
HEALTH_CHECK_ENABLED=false
HEALTH_PORT=8080
WEB_ENABLED=true
WEB_PORT=9090
SCRAPER_REQUEST_DELAY=2s
# === Downloader (yt-dlp) ===
# Optional proxy for yt-dlp calls
YTDLP_PROXY=
# Optional explicit ffmpeg path (auto-detected from PATH otherwise)
FFMPEG_BINARY=
# Telegram bot upload limit in MB (hard limit is 50)
TG_FILE_LIMIT_MB=49
# Max clip length: 5 min for normal quality, 30 s for HQ (2K)
CLIP_MAX_DURATION_SECONDS=300
CLIP_MAX_DURATION_HQ_SECONDS=30
# Encoding settings for /clip and /subs
CLIP_CRF=20
SUBS_CRF=20
CLIP_PRESET=fast
CLIP_AUDIO_BITRATE=192k
# Downloaded files older than this are removed by the daily cleanup
DOWNLOAD_RETENTION_HOURS=24
# === Translation ===
# API keys and model/provider chains are configured in the web UI (stored in DB).
GEMINI_API_KEY=
GROQ_API_KEY=
OPENCODE_API_KEY=
NVIDIA_API_KEY=
OPENROUTER_API_KEY=
TRANSLATION_TIMEOUT=3m