Egg_bot / render.yaml
Sanjay kumar K
autoupdate date , week , month
0b565ff
Raw
History Blame Contribute Delete
729 Bytes
# Render blueprint. Push to GitHub, then in Render: New > Blueprint > pick this repo.
# Render auto-injects $PORT. Register the Telegram webhook to this service URL.
services:
- type: web
name: sunfra-eggbot
runtime: python
plan: free
buildCommand: pip install -r requirements.txt
startCommand: uvicorn app:app --host 0.0.0.0 --port $PORT
envVars:
- key: PYTHON_VERSION
value: "3.12.7"
# Set these in the Render dashboard (marked secret):
- key: BOT_TOKEN
sync: false
- key: WEBHOOK_SECRET
sync: false
- key: ADMIN_CHAT_ID
sync: false
- key: EGG_DATA_FILE
value: egg_bot.json
- key: EGG_DB_FILE
value: egg_bot.db