The config file
All keys of the config file in the application folder.
The config file is in the application folder. Restart Todomator after you change it.
database : postgresql://user:password@localhost:5432/todomator
$api : /api/
mail (Object) : {"server":"smtp.example.com","port":587,"secure":false,"user":"user","password":"password","tls":{"ciphers":"SSLv3"},"from":"robot@example.com"}database
The connection to your PostgreSQL database.
$api
The address of the Todomator API. Keep the value /api/.
The mail server that sends the codes for two-factor authentication. Todomator sends no other email.
| Key | Meaning |
|---|---|
server | The name of the mail server. |
port | The port of the mail server. |
secure | true for a connection that is encrypted from the start. |
user | The user name for the mail server. |
password | The password for the mail server. |
tls | Options for the encrypted connection. |
from | The address the messages come from. |
Other options are in the settings screen.