Updated Configuration (markdown)

Kailash Nadh 2020-04-02 18:28:14 +05:30
parent 8549f11fd9
commit 0766325b69

@ -4,6 +4,9 @@ Run `./listmonk --new-config` to generate a new sample configuration file, `conf
## Customization
All the static assets including templates for public pages and system generated e-mails are bundled into the binary. However, `./listmonk --static-dir=your/custom/path` allows loading an external directory of static pages. To customize, copy the [static directory](https://github.com/knadh/listmonk/tree/master/static) to a local directory, customize the templates, and pass the path to listmonk using the `--static-dir` flag.
## Throughput and speed
To achieve maximum throughput increase the `app.concurrency` and `app.message_rate` parameters in the config file. `app.concurrency` (number of thread-workers) * `app.message_rate` (max messages per second per worker) is the maximum number of messages that listmonk will push out to one or more SMTP servers, as long as the SMTP servers are able to process the workload.
## Environment variables
Config keys in config.toml can also be provided to listmonk as environment variables prefixed by `LISTMONK_` and periods are replaced by `__` (double underscore). Example: