forked from StateVoicesNational/Spoke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
196 lines (166 loc) · 5.48 KB
/
app.json
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
"name": "spoke",
"description": "Mass peer to peer texting tool",
"repository": "https://github.com/moveonorg/spoke",
"success_url": "/",
"stack": "container",
"env": {
"SUPPRESS_SELF_INVITE": {
"description": "Should anonymous visitors be able to create new organizations from the home page? You will probably want to start the app with this off, and then after creating your own organization, come back here and set it to 1",
"required": false,
"value": ""
},
"PASSPORT_STRATEGY": {
"description": "Either 'auth0' or 'local' -- We recommend auth0 for production systems",
"required": true,
"value": "local"
},
"AUTH0_DOMAIN": {
"description": "auth0 domain attached to auth0 account (if not using auth0, enter anything)",
"required": true
},
"AUTH0_CLIENT_ID": {
"description": "auth0 client id attached to auth0 account (if not using auth0, enter anything)",
"required": true
},
"AUTH0_CLIENT_SECRET": {
"description": "auth0 client secret attached to auth0 account (if not using auth0, enter anything)",
"required": true
},
"BASE_URL": {
"description": "Set this if you are using a custom domain",
"required": false
},
"SESSION_SECRET": {
"description": "session secret",
"required": true,
"generator": "secret"
},
"DEFAULT_SERVICE": {
"description": "specifies using twilio api ",
"required": true,
"value": "twilio"
},
"TWILIO_ACCOUNT_SID": {
"description": "for twilio integration and connected to twilio account",
"required": true
},
"TWILIO_AUTH_TOKEN": {
"description": "for twilio integration and connected to twilio account",
"required": true
},
"TWILIO_MULTI_ORG": {
"description": "Allows each organization in the Spoke instance to set Twilio variables within the app",
"required": false,
"value": "1"
},
"PHONE_INVENTORY": {
"description": "Enables organization owners to be able to buy Twilio phone numbers within the app",
"required": false,
"value": "1"
},
"EMAIL_HOST": {
"description": "for email notification integration",
"required": false,
"value": ""
},
"EMAIL_HOST_PASSWORD": {
"description": "for email notification integration",
"required": false,
"value": ""
},
"EMAIL_HOST_USER": {
"description": "for email notification integration",
"required": false,
"value": ""
},
"EMAIL_HOST_PORT": {
"description": "for email notification integration",
"required": false,
"value": ""
},
"EMAIL_FROM": {
"description": "for email notification integration, the from email address",
"required": false,
"value": ""
},
"PHONE_NUMBER_COUNTRY": {
"description": "for international integration (when not us)",
"required": true,
"value": "US"
},
"AWS_ACCESS_KEY_ID": {
"description": "in order to export data to an s3 bucket",
"required": false,
"value": ""
},
"AWS_SECRET_ACCESS_KEY": {
"description": "in order to export data to an s3 bucket",
"required": false,
"value": ""
},
"AWS_S3_BUCKET_NAME": {
"description": "in order to export data to an s3 bucket",
"required": false,
"value": ""
},
"OWNER_CONFIGURABLE": {
"description": "Allows organization owners to edit variables",
"required": false,
"value": "ALL"
},
"NODE_ENV": {
"description": "node environment determines the application start process",
"required": true,
"value": "production"
},
"JOBS_SAME_PROCESS": {
"description": "recommended setting which means that the same node process that runs the web app processes applications.",
"required": true,
"value": "1"
},
"SUPPRESS_MIGRATIONS": {
"description": "When updating code, do you want to disable auto-database migrations?",
"required": false,
"value": ""
},
"DST_REFERENCE_TIMEZONE": {
"description": "Timezone to use to determine whether DST is in effect for a date",
"required": true,
"value": "US/Eastern"
},
"DEFAULT_TZ": {
"description": "Default timezone region for determining timezone when a contact timezone is unavailable. If this is not set, then texting hours will fallback to 12pm Eastern to 9pm Eastern which is the most conservative value for texting hours in the continental US and probably the right default. Only set this if your entire audience is in a single timezone. Example: 'US/Eastern'",
"required": false,
"value": ""
},
"HEROKU_APP_NAME": {
"description": "Name of your Heroku app (not used if BASE_URL is set)",
"required": false
},
"KNEX_MIGRATION_DIR": {
"description": "sets path for migration directory - do not change",
"required": true,
"value": "/spoke/build/server/migrations/"
},
"DB_USE_SSL": {
"description": "ensures that the DB is connecting over SSL which is a requirement for Heroku DBs",
"required": true,
"value": "true"
},
"TWILIO_VALIDATION": {
"description": "Validate twilio message report links as well",
"value": "1"
}
},
"addons": [
"heroku-postgresql:hobby-dev",
{
"plan": "heroku-redis:hobby-dev",
"options": {
"maxmemory-policy": "volatile-lru"
}
},
"mailgun:starter"
]
}