Configuration
Heimdall uses the server/.env file to allow for configureation of the server. The following variables can be set in the server/.env file:
DB_URL
Name of the database that wil be used.
Required: Yes
Type: text
Default: None
Example: dev.db
DEFAULT_NOTIFY
The email address(es) that will be notified when sending an email. Must be comma separated.
Required: Yes
Type: text or comma separated list
Default: None
Example: example@gmail.com or example@gmail.com,example2@gmail.com
EMPTY_TRASH_DAYS
The number of days that an event will remain in the trash until it is deleted. This number must be negative. 0 indicates that items will be deleted immediately after being trashed.
Required: No
Type: number
Default: 30
Example: 7
GMAIL
The gmail account that emails will be sent from.
Required: Yes
Type: text
Default: None
Example: example@gmail.com
GMAIL_APP_PASSWORD
The gmail app password used to authenticate emails.
Required: Yes
Type: text
Default: None
Example: abcd efgh ijkl mnop
LOG_LEVEL
The minimum level of logs that will be created. Must be one of the following: debug info warn error fatal
Required: No
Type: text
Default: info
Example: warn
OPENWEATHERMAP_API_KEY
The api key used for get weather and location data.
Required: Yes
Type: text
Default: None
Example: abc123def456ghi789jkl012mno345pq