-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy path.env-sample
100 lines (84 loc) · 3.8 KB
/
.env-sample
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#=================================================#
# ██████╗ ██████╗ ███╗ ███╗███████╗████████╗ #
# ██╔════╝██╔═══██╗████╗ ████║██╔════╝╚══██╔══╝ #
# ██║ ██║ ██║██╔████╔██║█████╗ ██║ #
# ██║ ██║ ██║██║╚██╔╝██║██╔══╝ ██║ #
# ╚██████╗╚██████╔╝██║ ╚═╝ ██║███████╗ ██║ #
# ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═╝ #
#=================================================#
# ============================== #
# Stremio Addon Configuration #
# ============================== #
ADDON_ID=stremio.comet.fast
ADDON_NAME=Comet
# ============================== #
# FastAPI Server Configuration #
# ============================== #
FASTAPI_HOST=0.0.0.0
FASTAPI_PORT=8000
FASTAPI_WORKERS=1
USE_GUNICORN=True # Will use uvicorn if False or if on Windows
# ============================== #
# Dashboard Settings #
# ============================== #
DASHBOARD_ADMIN_PASSWORD=CHANGE_ME # The password to access the dashboard
# ============================== #
# Database Configuration #
# ============================== #
DATABASE_TYPE=sqlite # Options: sqlite, postgresql
DATABASE_URL=comet:comet@comet-db:port # For PostgreSQL
DATABASE_PATH=data/comet.db # Only relevant for SQLite
# ============================== #
# Cache Settings (Seconds) #
# ============================== #
METADATA_CACHE_TTL=2592000 # 30 days
TORRENT_CACHE_TTL=1296000 # 15 days
DEBRID_CACHE_TTL=86400 # 1 day
# ============================== #
# Debrid Proxy Configuration #
# ============================== #
DEBRID_PROXY_URL=http://warp:1080 # Bypass Debrid Services and Torrentio IP blacklist
# ============================== #
# Indexer Manager Settings #
# ============================== #
INDEXER_MANAGER_TYPE=none # Options: jackett, prowlarr, none
INDEXER_MANAGER_URL=http://127.0.0.1:9117
INDEXER_MANAGER_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
INDEXER_MANAGER_TIMEOUT=60 # Max time to get search results (seconds)
INDEXER_MANAGER_INDEXERS='["EXAMPLE1_CHANGETHIS", "EXAMPLE2_CHANGETHIS"]' # Jackett/Prowlarr indexers
# ============================== #
# Torrent Settings #
# ============================== #
GET_TORRENT_TIMEOUT=5 # Max time to obtain torrent info hash (seconds)
DOWNLOAD_TORRENT_FILES=True # Enable torrent file retrieval (instead of magnet link only)
# ============================== #
# Scraping Configuration #
# ============================== #
SCRAPE_COMET=true
COMET_URL=https://comet.elfhosted.com
SCRAPE_ZILEAN=true
ZILEAN_URL=https://zilean.elfhosted.com
SCRAPE_TORRENTIO=true
TORRENTIO_URL=https://torrentio.strem.fun
SCRAPE_MEDIAFUSION=true
MEDIAFUSION_URL=https://mediafusion.elfhosted.com
# ============================== #
# Debrid Stream Proxy Settings #
# ============================== #
PROXY_DEBRID_STREAM=True
PROXY_DEBRID_STREAM_PASSWORD=CHANGE_ME
PROXY_DEBRID_STREAM_MAX_CONNECTIONS=-1 # -1 to disable connection limits
PROXY_DEBRID_STREAM_DEBRID_DEFAULT_SERVICE=realdebrid
PROXY_DEBRID_STREAM_DEBRID_DEFAULT_APIKEY=CHANGE_ME
# ============================== #
# Content Filtering #
# ============================== #
REMOVE_ADULT_CONTENT=False
# ============================== #
# UI Customization #
# ============================== #
CUSTOM_HEADER_HTML=None
# ============================== #
# StremThru Integration #
# ============================== #
STREMTHRU_URL=https://stremthru.13377001.xyz