-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsample_config.env
More file actions
34 lines (29 loc) · 823 Bytes
/
Copy pathsample_config.env
File metadata and controls
34 lines (29 loc) · 823 Bytes
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
# Telegram
API_ID = ""
API_HASH = ""
BOT_TOKEN = ""
SESSION_STRING = ""
# Others
DATABASE_URL = "mongodb://admin:admin@mongo:27017"
TMDB_API = ""
TMDB_LANGUAGE = "en-US"
BOT_LANGUAGE = "en"
START_WELCOME_MESSAGE = ""
SLEEP_THRESHOLD = ""
LOGS_CHANNEL = ""
BACKUP_DIR = "/app/database"
WORKERS = "10"
# WebServer Config
BASE_URL = "" # Example: http://example.com
PORT = "5000"
USE_TOKEN_SYSTEM = "True"
SECRET_KEY = "your-secret-token"
# Login Details
AUTH_USERS = {"admin": "admin", "admin2": "admin2"}
# Bot Admin – comma-separated Telegram user IDs allowed to run bot commands
# Leave empty to allow all users (not recommended in production)
ADMIN_IDS = ""
# Scraping Filters (used during /index)
INDEX_MIN_SIZE_MB = "50"
INDEX_ADULT_KEYWORDS = "xxx,porn,hentai"
INDEX_ALLOWED_EXTENSIONS = ".mkv,.mp4,.avi"