diff --git a/Configuration.md b/Configuration.md new file mode 100644 index 0000000..839894b --- /dev/null +++ b/Configuration.md @@ -0,0 +1,16 @@ +# Configuration + +Following is a list of all the available configuration properties. + +You must place these config paramaters in an application.properties in the same directory as the jar file in this form - +```properties +chatto.token.timeout-duration=30 +``` + +## Properties + +| Name | Description | Possible values | Default | +|--------------------------------|----------------------------------------------------------|--------------------------------------|-------------------------------------------| +| chatto.token.timeout-duration | The amount of time the authorization token will be valid | Number > 0 | 30 | +| chatto.frontend.loglevel | The log level for the js frontend | ERROR, WARN, INFO,
DEBUG, TRACE | TRACE in dev mode,
INFO in production | +| chatto.frontend.chat-page-size | The pagination amount of the chat area messages | Number > 0 | 9 |