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
enhancement: Added the ability to configure a list of domains and only send mail to addresses in those domains (#21)
* enhancement: Added the ability to configure a list of domains and only send mail to addresses in those domains
* Added env var docs
* Updated helm chart
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,18 @@ make docker
21
21
make docker-run
22
22
```
23
23
24
+
### Configuration
25
+
A number of environment variables are available to configure the service at runtime:
26
+
| Env var name | Functionality | Default |
27
+
|--------------|---------------|---------|
28
+
| SERVICE_PORT | The local port the application will bind to | 80 |
29
+
| SENDGRID_API_KEY | The API Key for sendgrid ||
30
+
| SLACK_API_KEY | The API Token for Slack ||
31
+
| GRACEFUL_SHUTDOWN_TIMEOUT_SECONDS | The number of seconds the application will continue servicing in-flight requests before the application stops after it receives an interrupt signal | 10 |
32
+
| STRUCTURED_LOGGING | If enabled, logs will be in JSON format, and only above INFO level | false |
33
+
| ALLOW_EMAIL_TO_DOMAINS | A comma separated list of domains. Only addresses in this list can have email sent to them. If empty, disable this "sandboxing" functionality. ||
34
+
35
+
24
36
### Releasing a new version on GitHub and Brew
25
37
26
38
We are using a tool called `goreleaser` which you can get from brew if you're on MacOS:
0 commit comments