-
Notifications
You must be signed in to change notification settings - Fork 2
/
render.yaml
31 lines (30 loc) · 1.26 KB
/
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
# This file was generated by Render's heroku-import Heroku CLI plugin
# https://www.npmjs.com/package/@renderinc/heroku-import
# Schema documented at https://render.com/docs/yaml-spec
services:
- type: web # valid values: https://render.com/docs/yaml-spec#type
region: ohio
name: sample-service-name
env: python # valid values: https://render.com/docs/yaml-spec#environment
buildCommand: "./render_build.sh"
startCommand: "gunicorn wsgi --chdir ./src/"
plan: free # optional; defaults to starter
numInstances: 1
envVars:
- key: BASENAME # Imported from Heroku app
value: /
- key: FLASK_APP # Imported from Heroku app
value: src/app.py
- key: FLASK_ENV # Imported from Heroku app
value: production
- key: FLASK_APP_KEY # Imported from Heroku app
value: "any key works"
- key: DATABASE_URL # Render PostgreSQL database
fromDatabase:
name: postgresql-trapezoidal-42170
property: connectionString
databases: # Render PostgreSQL database
- name: postgresql-trapezoidal-42170
region: ohio
ipAllowList: [] # only allow internal connections
plan: free # optional; defaults to starter