-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
50 lines (48 loc) · 1.64 KB
/
render.yaml
File metadata and controls
50 lines (48 loc) · 1.64 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Render Blueprint for FilesLink Multi-Service Deployment
# This replaces docker-compose.yml for Render.com deployment
# Documentation: https://render.com/docs/blueprint-spec
services:
# Main Rust Application
- type: web
name: fileslink
runtime: docker
dockerfilePath: ./Dockerfile
plan: free # Change to 'standard' or higher for production
region: singapore # Choose your region
branch: main
autoDeploy: false # Disable auto-deploy (manual deploy only)
envVars:
- key: RUST_LOG
value: info
- key: FASTTELETHON_URL
value: https://fasttelethon.onrender.com # Update with your FastTelethon service URL
- key: BOT_TOKEN
sync: false # Set manually in Render dashboard
- key: STORAGE_CHANNEL_ID
sync: false
- key: APP_FILE_DOMAIN
sync: false
- key: SERVER_PORT
value: 8080
healthCheckPath: /health
# FastTelethon Python Service
- type: web
name: fasttelethon
runtime: docker
dockerfilePath: ./python_service/Dockerfile
dockerContext: ./python_service
plan: free
region: singapore
branch: main
autoDeploy: false # Disable auto-deploy (manual deploy only)
envVars:
- key: TELEGRAM_API_ID
sync: false # Set manually - sensitive
- key: TELEGRAM_API_HASH
sync: false # Set manually - sensitive
- key: TELEGRAM_PHONE
sync: false # Set manually - sensitive
- key: STORAGE_CHANNEL_ID
sync: false # Your storage channel ID (e.g., -1001234890)
- key: TELETHON_SESSION_BASE64
sync: false # Get this from /session/backup after first authorization