-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
36 lines (28 loc) · 996 Bytes
/
Copy pathrender.yaml
File metadata and controls
36 lines (28 loc) · 996 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
35
36
services:
- type: web
name: Downloader-Bot
runtime: python
pythonVersion: "3.11.9"
buildCommand: pip install -r requirements.txt && pip install --force-reinstall --no-cache-dir yt-dlp
buildCommand: >
apt-get install -y nodejs &&
pip install -r requirements.txt &&
yt-dlp -U
startCommand: python bot.py
plan: free
envVars:
- key: BOT_TOKEN
sync: false # Set manually in Render dashboard
- key: BOT_USERNAME
sync: false # e.g. MyDownloaderBot (without @)
- key: WEBHOOK_URL
sync: false # e.g. https://downloader-bot.onrender.com
- key: ADMIN_USER_ID
sync: false # Your Telegram numeric user ID
- key: REQUIRED_CHANNEL_USERNAME
value: "@log_ak_bots"
- key: REQUIRED_CHANNEL_URL
value: "https://t.me/log_ak_bots"
- key: PORT
value: "5000" # Render free tier ke liye 10000 use karo
healthCheckPath: /