mirror of
https://github.com/euzu/tuliprox.git
synced 2026-09-21 08:32:05 +02:00
- **New Features** - Added automatic `.env` loading for secrets and environment variables, with custom file paths and existing-environment precedence. - Added a `--env-file` option and a sample environment configuration template. - Increased Docker file descriptor limits for improved reliability under high connection counts. - **Bug Fixes** - Fixed title parsing for multi-byte UTF-8 characters, preventing crashes and incorrect volume extraction. - **Documentation** - Added guidance for `.env` configuration, Docker usage, restart requirements, and resolving file descriptor exhaustion.
29 lines
1.2 KiB
Bash
29 lines
1.2 KiB
Bash
# Sample .env configuration for Tuliprox
|
|
# Copy this file to .env (e.g. in this config directory, or root) and adapt the values.
|
|
# Values defined here are automatically loaded at startup and can be referenced
|
|
# in config.yml, source.yml, api-proxy.yml, mapping.yml, template.yml via ${env:KEY}.
|
|
#
|
|
# NOTE: Changing this file requires a process/container restart to take effect.
|
|
# Existing system/Docker environment variables take precedence and will not be overwritten.
|
|
|
|
# --- Provider Credentials (source.yml) ---
|
|
# Inputs can reference these with:
|
|
# username: "${env:PROVIDER_USER}"
|
|
# password: "${env:PROVIDER_PASS}"
|
|
PROVIDER_URL=http://iptv.example.com:8080
|
|
PROVIDER_USER=my_iptv_username
|
|
PROVIDER_PASS=my_iptv_password
|
|
|
|
# --- Web UI Security (config.yml) ---
|
|
# 64-character hexadecimal string for persistent JWT signing (web_ui.auth.secret)
|
|
# TULIPROX_WEB_SECRET=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
|
|
|
|
# --- Notifications (config.yml) ---
|
|
# TULIPROX_TELEGRAM_TOKEN=123456789:ABCdefGhIJKlmNoPQRsTUVwxyZ
|
|
# TULIPROX_TELEGRAM_CHAT_ID=12345678
|
|
# TULIPROX_DISCORD_WEBHOOK=https://discord.com/api/webhooks/...
|
|
|
|
# --- Logging & Diagnostics ---
|
|
# Log level: trace, debug, info, warn, error
|
|
# TULIPROX_LOG=info
|