forked from SFDO-Tooling/Metecho
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrender.yaml
90 lines (88 loc) · 2.09 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
services:
- type: web
name: metecho
env: python
plan: starter
buildCommand: .render/build.sh
startCommand: ./start-server.sh
autoDeploy: true
envVars:
- fromGroup: metecho-env
- key: DATABASE_URL
fromDatabase:
name: metecho_db
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: metecho-redis
property: connectionString
- type: worker
name: metecho-worker
env: python
plan: starter
buildCommand: .render/build.sh
startCommand: honcho start -f Procfile_worker_all
autoDeploy: true
envVars:
- fromGroup: metecho-env
- key: DATABASE_URL
fromDatabase:
name: metecho_db
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: metecho-redis
property: connectionString
- type: redis
name: metecho-redis
plan: starter
maxmemoryPolicy: noeviction
ipAllowList: []
databases:
- name: metecho_db
databaseName: metecho_db
user: metecho_db
plan: starter
envVarGroups:
- name: metecho-env
envVars:
- key: BUILD_ENV
value: production
- key: DB_ENCRYPTION_KEY
sync: false
- key: DEFAULT_FROM_EMAIL
value: [email protected]
- key: DEVHUB_USERNAME
sync: false
- key: DJANGO_ADMIN_URL
generateValue: true
- key: DJANGO_HASHID_SALT
generateValue: true
- key: DJANGO_SECRET_KEY
generateValue: true
- key: DJANGO_SETTINGS_MODULE
value: config.settings.production
- key: GITHUB_APP_ID
sync: false
- key: GITHUB_APP_KEY
sync: false
- key: GITHUB_CLIENT_ID
sync: false
- key: GITHUB_CLIENT_SECRET
sync: false
- key: GITHUB_HOOK_SECRET
generateValue: true
- key: PYTHON_VERSION
value: 3.11.2
- key: SFDX_CLIENT_CALLBACK_URL
sync: false
- key: SFDX_CLIENT_ID
sync: false
- key: SFDX_CLIENT_SECRET
sync: false
- key: SFDX_HUB_KEY
sync: false
- key: WEB_CONCURRENCY
value: 4