-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
32 lines (27 loc) · 1.26 KB
/
Copy pathrender.yaml
File metadata and controls
32 lines (27 loc) · 1.26 KB
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
# Render Infrastructure-as-Code
# Docs: https://render.com/docs/infrastructure-as-code
#
# Deploy steps:
# 1. Push this repo to GitHub
# 2. New → Blueprint in Render dashboard → connect repo
# 3. Fill in the secret env vars marked sync: false
services:
- type: web # free plan requires web service type
name: expense-bot
runtime: docker
dockerfilePath: ./Dockerfile
dockerContext: .
region: frankfurt # closest to Tajikistan
plan: free # free tier is enough for a Telegram bot
# ── Environment Variables ──────────────────────────────────────────────
# Variables marked sync: false must be filled in the Render dashboard
# (Dashboard → expense-bot → Environment → Add env var)
envVars:
- key: BOT_TOKEN
sync: false # secret — set manually in dashboard
- key: SPREADSHEET_ID
sync: false # secret — set manually in dashboard
- key: SALARY
value: "16000" # change here or override in dashboard
- key: GOOGLE_CREDENTIALS_JSON
sync: false # paste the full contents of credentials.json