-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
31 lines (30 loc) · 788 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
databases:
- name: extaber-db
databaseName: extaber
user: admin
region: ohio
plan: free
ipAllowList: [] # only allow internal connections
services:
- type: web
name: extaber-api
repo: https://github.com/sven-gerlach/extaber-api.git
env: python
region: ohio
plan: free
branch: main
buildCommand: pipenv install --deploy --system && python manage.py migrate --no-input
startCommand: gunicorn -b :$PORT extaber-api.wsgi
envVars:
- key: CLIENT_ORIGIN
sync: false
- key: DATABASE_URL
fromDatabase:
name: extaber-db
property: connectionString
- key: POSTGRES_PASSWORD
sync: false
- key: SECRET_KEY
sync: false
- key: DOPPLER_CONFIG
sync: false