-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
45 lines (44 loc) · 1.23 KB
/
Copy pathrender.yaml
File metadata and controls
45 lines (44 loc) · 1.23 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
services:
- type: web
name: biztrackgh-api
env: python
region: oregon
plan: free
branch: main
rootDir: backend
buildCommand: |
pip install --upgrade pip
pip install -r requirements.txt
alembic upgrade head
startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT
healthCheckPath: /health
envVars:
- key: PYTHON_VERSION
value: "3.11.9"
- key: PIP_ROOT_USER_ACTION
value: ignore
- key: APP_ENV
value: production
- key: DATABASE_URL
fromDatabase:
name: biztrackgh-db
property: connectionString
- key: SECRET_KEY
# Render generates a strong random value on first deploy, so production
# never falls back to the insecure placeholder. (config.py also refuses
# to boot in production if SECRET_KEY is a known placeholder.)
generateValue: true
- key: CORS_ORIGINS
sync: false
- key: PAYSTACK_SECRET_KEY_TEST
sync: false
- key: PAYSTACK_SECRET_KEY_LIVE
sync: false
- key: PAYMENT_CONFIG_ENCRYPTION_KEY
sync: false
- key: ARKESEL_API_KEY
sync: false
databases:
- name: biztrackgh-db
region: oregon
plan: free