File size: 461 Bytes
afa4de7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | services:
- type: web
name: arf-api
runtime: python
buildCommand: pip install -r requirements.txt
startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT
envVars:
- key: DATABASE_URL
fromDatabase:
name: arf-db
property: connectionString
- key: API_KEY
sync: false
- key: ENVIRONMENT
value: production
databases:
- name: arf-db
databaseName: arf
user: arf_user
|