Skip to content

Commit

Permalink
Add a note about starting listmonk without a config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Apr 27, 2024
1 parent c3f4379 commit 42ba157
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/docs/content/configuration.md
Expand Up @@ -6,7 +6,9 @@ One or more TOML files can be read by passing `--config config.toml` multiple ti
To generate a new sample configuration file, run `--listmonk --new-config`

### Environment variables
Variables in config.toml can also be provided as environment variables prefixed by `LISTMONK_` with periods replaced by `__` (double underscore). Example:
Variables in config.toml can also be provided as environment variables prefixed by `LISTMONK_` with periods replaced by `__` (double underscore). To start listmonk purely with environment variables without a configuration file, set the environment variables and pass the config flag as `--config=""`.

Example:

| **Environment variable** | Example value |
| ------------------------------ | -------------- |
Expand Down

0 comments on commit 42ba157

Please sign in to comment.