mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-02 17:14:31 +02:00
scripts/ENV: make disabling Redis possible (#3132)
* make disabling Redis possible * add documentation * Apply suggestions from code review * Update docs/content/config/environment.md --------- Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
parent
dfc2b39308
commit
0949f16344
6 changed files with 47 additions and 15 deletions
|
@ -80,6 +80,26 @@ Enable or disable Rspamd.
|
|||
- **0** => disabled
|
||||
- 1 => enabled
|
||||
|
||||
##### ENABLE_REDIS
|
||||
|
||||
Explicit control over running a Redis instance within the container. By default, this value will match what is set for [`ENABLE_RSPAMD`](#enable_rspamd).
|
||||
|
||||
The purpose of this setting is to opt-out of starting an internal Redis instance when enabling Rspamd, replacing it with your own external instance.
|
||||
|
||||
??? note "Configuring rspamd for an external Redis instance"
|
||||
|
||||
You will need to [provide configuration][config-rspamd-redis] at `/etc/rspamd/local.d/redis.conf` similar to:
|
||||
|
||||
```
|
||||
servers = "redis.example.test:6379";
|
||||
expand_keys = true;
|
||||
```
|
||||
|
||||
[config-rspamd-redis]: https://rspamd.com/doc/configuration/redis.html
|
||||
|
||||
- 0 => Disabled
|
||||
- 1 => Enabled
|
||||
|
||||
##### ENABLE_AMAVIS
|
||||
|
||||
Amavis content filter (used for ClamAV & SpamAssassin)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue