24 Commits (e46153c0b1111303875e00ae9cffaa26d5111db5)

Author SHA1 Message Date
Michael Wyraz de2f166bd1 Resolve HOST_* to *_ADDRESS only if *_ADDRESS is not already set 5 years ago
bors[bot] f3f0c3190b
Merge #1014
1014: Fixed hardcoded antispam and antivirus host addresses r=mergify[bot] a=ajgon

## What type of PR?

enchancement

## What does this PR do?

Adds configurable parameters `HOST_ANTISPAM` and `HOST_ANTIVIRUS` for `core/dovecot` and `services/rspamd`, instead of using hardcoded container names.

### Related issue(s)
- closes #978 

Co-authored-by: Igor Rzegocki <igor@rzegocki.pl>
Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
5 years ago
Ionut Filip d49ee2997f Remove unnecesary condition 5 years ago
Tim Möhlmann 05ea4474e7
make `ANTIVIRUS_ADDRESS` consistent with #940 5 years ago
Igor Rzegocki 6f973a2e4b
Fixed hardcoded antispam and antivirus host addresses
Fixes #978
5 years ago
Ionut Filip 075417bf90 Merged master and fixed conflicts 5 years ago
hoellen 9de5dc2592 Use python package socrate instead of Mailustart 5 years ago
Ionut Filip 4c25c83419 HOST_* and *_ADDRESS variables cleanup 6 years ago
Ionut Filip f9e3cd3c5d Use corret host_* variables 6 years ago
Ionut Filip ec4b35673a Resolve HOST_REDIS in rspamd 6 years ago
Ionut Filip 9684ebf33f Use mailustart package from git 6 years ago
Tim Möhlmann 049ca9941f
Cleanup syntax and fix typo 6 years ago
Tim Möhlmann 7d01bb2a4d
LOG_LEVEL docs and changelog entry 6 years ago
Tim Möhlmann b04a9d1c28
Implement debug logging for template rendering 6 years ago
Tim Möhlmann b9313488dd
Add logging for tenacity.retry
In the process we found that the previous way of tenacity syntax caused it not to honor any args.
In this commit we've refactored to use the @decorator syntax, in which tenacity seems to behave better.
6 years ago
Tim Möhlmann 42e2dbe35d
Standarize image by using shared / similair layers 6 years ago
Ionut Filip 1187cac5e1 Finished up switching from .sh to .py 6 years ago
Ionut Filip eb7dfb5771 Cleaning up start.py 6 years ago
Tim Möhlmann 0817629869
Increase attempts as it failed on fresh Swarm host 6 years ago
Tim Möhlmann 1bae5968ad
Import tenacy and fix syntax errors 6 years ago
Tim Möhlmann c457ccfa60
Use tenacity for resolver retries 6 years ago
Tim Möhlmann cc8e15748b Retry 10 times when resolving fails in start.py scripts 6 years ago
Mildred Ki'Lya ae8c9f5a6b Add various environment variables to allow running outside of docker-compose 7 years ago
kaiyou 3675fdb915 Install the proper rspamd modules on top of Alpine 7 years ago