forked from chiefonboarding/ChiefOnboarding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
49 lines (46 loc) · 1.29 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
databases:
- name: chiefonboardingdb
databaseName: chiefonboardingdb
ipAllowList: []
services:
- type: web
name: chiefonboarding
env: python
buildCommand: "pip install -r requirements.txt && cd back && python manage.py collectstatic --no-input && python manage.py createcachetable && python manage.py migrate"
startCommand: "gunicorn --chdir back back.wsgi:application"
envVars:
- fromGroup: chief-default
- key: DATABASE_URL
fromDatabase:
name: chiefonboardingdb
property: connectionString
- key: ACCOUNT_EMAIL
sync: false
- key: ACCOUNT_PASSWORD
sync: false
- key: BASE_URL
sync: false
- key: ALLOWED_HOSTS
sync: false
- key: DEFAULT_FROM_EMAIL
sync: false
- type: worker
name: django-q
env: python
buildCommand: "pip install -r requirements.txt"
startCommand: "python back/manage.py qcluster"
envVars:
- fromGroup: chief-default
- key: DATABASE_URL
fromDatabase:
name: chiefonboardingdb
property: connectionString
- key: BASE_URL
sync: false
- key: DEFAULT_FROM_EMAIL
sync: false
envVarGroups:
- name: chief-default
envVars:
- key: SECRET_KEY
generateValue: true