-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
41155da
commit e2ba154
Showing
7 changed files
with
144 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,18 +85,26 @@ module.exports = { | |
// The URL of your MongoDB server. Under the recommended setup, it should be `mongodb://sq_mongodb/sqtracker`. | ||
SQ_MONGO_URL: "mongodb://sq_mongodb/sqtracker", | ||
|
||
// Disables sending of any emails and removes the need for an SMTP server. | ||
// Fine for testing, not recommended in production as users will not be able to reset their passwords. | ||
SQ_DISABLE_EMAIL: false, | ||
|
||
// The email address that mail will be sent from. | ||
// Not required if SQ_DISABLE_EMAIL=true. | ||
SQ_MAIL_FROM_ADDRESS: "[email protected]", | ||
|
||
// The hostname of your SMTP server. | ||
// Not required if SQ_DISABLE_EMAIL=true. | ||
SQ_SMTP_HOST: "smtp.example.com", | ||
|
||
// The port of your SMTP server. | ||
// Not required if SQ_DISABLE_EMAIL=true. | ||
SQ_SMTP_PORT: 587, | ||
|
||
// Whether to force SMTP TLS: if true the connection will use TLS when connecting to server. | ||
// If false (the default) then TLS is used if server supports the STARTTLS extension. | ||
// In most cases set this value to true if you are connecting to port 465. For port 587 or 25 keep it false. | ||
// Not required if SQ_DISABLE_EMAIL=true. | ||
SQ_SMTP_SECURE: false, | ||
}, | ||
secrets: { | ||
|
@@ -111,9 +119,11 @@ module.exports = { | |
SQ_ADMIN_EMAIL: "[email protected]", | ||
|
||
// The username to authenticate with your SMTP server with. | ||
// Not required if SQ_DISABLE_EMAIL=true. | ||
SQ_SMTP_USER: "smtp_username", | ||
|
||
// The password to authenticate with your SMTP server with. | ||
// Not required if SQ_DISABLE_EMAIL=true. | ||
SQ_SMTP_PASS: "smtp_password", | ||
}, | ||
}; |