# Environment

### General

| Variable name     | Default value                      | Description                                                          |
| ----------------- | ---------------------------------- | -------------------------------------------------------------------- |
| APP\_ID           | WekanChatBot                       | Mainly used in logging as the name                                   |
| LOG\_LEVEL        | debug                              | Describes, what should be logged. By default everything gets logged. |
| PORT              | 3000                               | The port the bot is listening on.                                    |
| MONGO\_URI        | mongodb://localhost:27018/wekanbot | The mongodb uri which is used for the connection.                    |
| LOG\_MONGO        | true                               | Whether the logs should be stored at the database.                   |
| DEFAULT\_LANGUAGE | en                                 | The language which is used by the bot.                               |

### Wekan

| Variable                     | Default            | Description                                               |
| ---------------------------- | ------------------ | --------------------------------------------------------- |
| WEKAN\_BAS&#x45;*\_*&#x55;RL | <http://localhost> | The url where wekan is hosted.                            |
| WEKAN\_TOKEN                 | testtoken          | The token obtained by setting up a outgoing webhooks.     |
| WEKAN\_USERNAME              | chat               | The username of a wekan admin account (used for REST-API) |
| WEKAN\_PASSWORD              | securePassword     | The password from an admin user (user for REST-API).      |

### Synology

| Variable                                  | Default     | Description                                     |
| ----------------------------------------- | ----------- | ----------------------------------------------- |
| SYNOLOGY\_ BO&#x54;*\_*&#x49;NCOMING\_URL | YOUR\_URL   | The synology incoming webhook.                  |
| SYNOLOGY\_BO&#x54;*\_*&#x54;OKEN          | YOUR\_TOKEN | The token from synology while creating the bot. |
