PepBielsaBot / render.yaml
thehnx's picture
Initial commit: Telegram Monitor Bot with AI + HF persistent store + Render deployment
da49547
Raw
History Blame Contribute Delete
2.06 kB
services:
- type: worker # background process (no HTTP port needed)
name: pepbielsa-monitor-bot
runtime: python
buildCommand: pip install -r requirements.txt
startCommand: python main.py
envVars:
# ── Telegram API ────────────────────────────────────────────────────────
- key: API_ID
sync: false # set manually in Render dashboard
- key: API_HASH
sync: false
- key: PHONE_NUMBER
sync: false
- key: SESSION_STRING
sync: false # generated by session_export.py
# ── Channels ────────────────────────────────────────────────────────────
- key: SOURCE_CHANNELS
sync: false
- key: DESTINATION_CHANNEL
sync: false
# ── Groq AI ─────────────────────────────────────────────────────────────
- key: GROQ_API_KEY
sync: false
- key: AI_ENABLED
value: "true"
- key: SIMILARITY_THRESHOLD
value: "0.80"
- key: RECENT_NEWS_WINDOW
value: "200"
# ── Hugging Face persistent store ────────────────────────────────────────
- key: HF_TOKEN
sync: false # HF write token (Settings → Access Tokens)
- key: HF_DATASET_REPO
value: "thehnx/PepBielsaNews"
- key: HF_PUSH_EVERY
value: "20"
# ── Misc ────────────────────────────────────────────────────────────────
- key: LOG_LEVEL
value: "INFO"