Repository navigation
Expand file tree
/
Copy pathrender.yaml
More file actions
40 lines (40 loc) · 1.37 KB
/
Copy pathrender.yaml
File metadata and controls
40 lines (40 loc) · 1.37 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
# Render Blueprint: New > Blueprint in the Render dashboard, then pick this repo.
# Render asks for each sync: false value once, when the service is created.
#
# The free plan is for trying MergePay only: its disk is wiped on every deploy, restart and
# idle sleep (~15 min), and the bounties go with it. For real use pick a paid plan, add a disk
# and point DB_PATH at it, for example:
# plan: starter
# disk: {name: data, mountPath: /var/data, sizeGB: 1}
# envVars: - key: DB_PATH
# value: /var/data/mergepay.db
services:
- type: web
name: mergepay
runtime: python
plan: free
buildCommand: pip install -r requirements.txt
# Render terminates HTTPS; trusting its forwarded headers keeps sign-in callbacks on https.
startCommand: uvicorn app:app --host 0.0.0.0 --port $PORT --proxy-headers --forwarded-allow-ips "*"
healthCheckPath: /healthz
envVars:
- key: PAYPAL_CLIENT_ID
sync: false
- key: PAYPAL_CLIENT_SECRET
sync: false
- key: GEMINI_API_KEY
sync: false
- key: GITHUB_TOKEN
sync: false
- key: GITHUB_WEBHOOK_SECRET
sync: false
- key: GITHUB_CLIENT_ID
sync: false
- key: GITHUB_CLIENT_SECRET
sync: false
- key: PUBLIC_URL
sync: false
- key: ADMIN_PASSWORD
sync: false
- key: AUTO_PAY_LIMIT
value: "50"