You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> NOTE: `nginx_alert_emails` is common for the entire server. So if you set it in one app, maintain the same values in all your apps. Please create an issue if you can think of a better solution.
134
+
### Swap file configuration
145
135
146
-
#### create_swap_file
136
+
#####create_swap_file
147
137
148
138
Creates a swap if this is set to `True`.
149
139
150
140
* Default: `True`
151
141
* Possible values: `True`, `False`
152
142
153
-
#### swap_size
143
+
#####swap_size
154
144
155
145
If `create_swap_file` is set to `True`, this option can be used to specify the size of the swap to create. by default the size is 2gb. If you aren't sure leave this unchanged.
156
146
157
147
* Default: `2097K`
158
148
* Possible values: calculated as `1024 * 1024 * n`. So for 4gb that would be 4194304, which can be specified as `4194K`
159
149
160
150
161
-
#### npm_config_jobs
151
+
### NPM configuration
152
+
153
+
##### npm_config_jobs
162
154
163
155
Set this to more than `1` if npm should be allowed to be run in parallel. For 512mb RAM servers, it's better to set this to `1`.
164
156
165
157
* Default: `1`
166
158
* Example values: `2`, `5`
167
159
168
-
#### npm_config_install_production
160
+
#####npm_config_install_production
169
161
170
162
If set to `True`, npm dependencies will be installed with `npm install --production`. Else it is just `npm install`.
171
163
172
164
* Default: `False`
173
165
* Possible values: `True`, `False`
174
166
175
-
#### secret_key_base_length
176
-
177
-
Length of the secret key base. Can be set to any integer.
178
167
179
-
* Default: `64`
168
+
### Monitoring email alerts
180
169
181
-
#### enable_mail_alerts
170
+
#####enable_mail_alerts
182
171
183
172
Will send mail alerts when stuff goes down. If this is enabled, SMTP configuration needs to be provided.
184
173
@@ -187,29 +176,51 @@ Will send mail alerts when stuff goes down. If this is enabled, SMTP configurati
187
176
188
177
You could use GMail, [MailGun](http://mailgun.com), [Amazon SES](http://aws.amazon.com/ses/), [SendGrid](https://sendgrid.com) or anything else. Most providers have a free quota that should be sufficient for your hobby apps.
189
178
190
-
#### smtp_host
179
+
##### app_alert_emails
180
+
181
+
List of email addresses to alert if the app goes down. No emails are sent by default.
> NOTE: `nginx_alert_emails` is common for the entire server. So if you set it in one app, maintain the same values in all your apps. Please create an issue if you can think of a better solution.
199
+
200
+
201
+
##### smtp_host
191
202
192
203
Set this to your SMTP host.
193
204
194
205
Example values: `smtp.gmail.com`, `smtp.mailgun.org`
195
206
196
-
#### smtp_port
207
+
#####smtp_port
197
208
198
209
Set this to your host's SMTP port. For most servers, the default would work.
0 commit comments