-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
30 lines (29 loc) · 895 Bytes
/
render.yaml
File metadata and controls
30 lines (29 loc) · 895 Bytes
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
databases:
- name: drugtracedb
plan: free
databaseName: drugtrace
user: drugtrace
services:
- type: web
plan: free
name: drugtrace
runtime: python
buildCommand: './build.sh'
startCommand: 'python -m gunicorn DrugTraceApp.asgi:application -k uvicorn.workers.UvicornWorker'
envVars:
- key: DATABASE_URL
fromDatabase:
name: drugtracedb
property: connectionString
- key: SECRET_KEY
generateValue: true
- key: WEB_CONCURRENCY
value: 4
- key: BLOCKCHAIN_ADDRESS
sync: false # This will need to be set manually in Render dashboard
- key: CONTRACT_PATH
value: Drug.json
- key: CONTRACT_ADDRESS
value: 0x152C98B8d6B3b6B983ba6bE52A1b0AcEf132e86D
- key: BLOCKCHAIN_PRIVATE_KEY
sync: false # This will need to be set manually in Render dashboard