mirror of
https://github.com/sartoopjj/thefeed.git
synced 2026-05-18 01:24:35 +03:00
62 lines
2.0 KiB
Bash
62 lines
2.0 KiB
Bash
# ============================================================
|
|
# thefeed-server — Docker Environment Variables
|
|
# ============================================================
|
|
# Copy this file to .env and fill in your values:
|
|
# cp .env.example .env
|
|
# ============================================================
|
|
|
|
# ----- Required -----
|
|
|
|
# Your DNS domain (e.g., t.example.com)
|
|
THEFEED_DOMAIN=t.example.com
|
|
|
|
# Encryption passphrase (shared between server and client)
|
|
THEFEED_KEY=your-secret-passphrase
|
|
|
|
# ----- Telegram Mode -----
|
|
# Default: --no-telegram (public channels only, no login needed)
|
|
# To use Telegram API, uncomment these AND remove --no-telegram from compose:
|
|
|
|
#TELEGRAM_API_ID=12345
|
|
#TELEGRAM_API_HASH=your-api-hash
|
|
#TELEGRAM_PHONE=+1234567890
|
|
#TELEGRAM_PASSWORD=your-2fa-password
|
|
|
|
# ----- Optional Settings -----
|
|
|
|
# Max messages per channel (default: 15)
|
|
#THEFEED_MSG_LIMIT=15
|
|
|
|
# Fetch cycle interval in minutes (min 3, default 10)
|
|
#THEFEED_FETCH_INTERVAL=10
|
|
|
|
# Allow remote channel management via DNS (default: disabled)
|
|
#THEFEED_ALLOW_MANAGE=0
|
|
|
|
# Nitter RSS instances for X/Twitter (comma-separated)
|
|
#THEFEED_X_RSS_INSTANCES=https://nitter.net,http://nitter.net
|
|
|
|
# Max random padding bytes in DNS responses (anti-DPI, default: 32)
|
|
#THEFEED_PADDING=32
|
|
|
|
# Log every decoded DNS query (default: disabled)
|
|
#THEFEED_DEBUG=0
|
|
|
|
# ----- Media Relays -----
|
|
# DNS relay (slow, works in censored networks). Default: off.
|
|
#THEFEED_DNS_MEDIA_ENABLED=1
|
|
#THEFEED_DNS_MEDIA_MAX_SIZE_KB=100
|
|
#THEFEED_DNS_MEDIA_CACHE_TTL_MIN=600
|
|
#THEFEED_DNS_MEDIA_COMPRESSION=gzip
|
|
|
|
# GitHub relay (fast, plain HTTPS). Default: off.
|
|
# Files are AES-256-GCM encrypted; folder + object names are HMAC'd
|
|
# with THEFEED_KEY so the public repo can't be linked back to your
|
|
# deployment. Needs a personal-access-token with contents:write.
|
|
#THEFEED_GITHUB_RELAY_ENABLED=1
|
|
#THEFEED_GITHUB_RELAY_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
#THEFEED_GITHUB_RELAY_REPO=owner/repo
|
|
#THEFEED_GITHUB_RELAY_BRANCH=main
|
|
#THEFEED_GITHUB_RELAY_MAX_SIZE_KB=15360
|
|
#THEFEED_GITHUB_RELAY_TTL_MIN=600
|