-
Notifications
You must be signed in to change notification settings - Fork 199
/
render.yaml
43 lines (39 loc) · 921 Bytes
/
render.yaml
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
services:
- type: web
name: flask-postgres-api
env: python
repo: https://github.com/uwidcit/flaskmvc.git
plan: free
branch: main
healthCheckPath: /healthcheck
buildCommand: "pip install -r requirements.txt"
startCommand: "gunicorn wsgi:app"
envVars:
- fromGroup: flask-postgres-api-settings
- key: POSTGRES_URL
fromDatabase:
name: flask-postgres-api-db
property: host
- key: POSTGRES_USER
fromDatabase:
name: flask-postgres-api-db
property: user
- key: POSTGRES_PASSWORD
fromDatabase:
name: flask-postgres-api-db
property: password
- key: POSTGRES_DB
fromDatabase:
name: flask-postgres-api-db
property: database
envVarGroups:
- name: flask-postgres-api-settings
envVars:
- key: ENV
value: production
- key: FLASK_APP
value: wsgi.py
databases:
- name: flask-postgres-api-db
plan: free
databaseName: mydb