mirror of
https://github.com/Mailu/Mailu.git
synced 2025-02-07 13:08:22 +02:00
Further improvements
This commit is contained in:
parent
bc6a38b655
commit
c56b58149b
@ -58,6 +58,7 @@ plugin {
|
||||
|
||||
{% if (FULL_TEXT_SEARCH or '').lower() not in ['off', 'false', '0'] %}
|
||||
fts = flatcurve
|
||||
fts_index_timeout = 50s
|
||||
fts_languages = {% if FULL_TEXT_SEARCH %}{{ FULL_TEXT_SEARCH.split(",") | join(" ") }}{% else %}en{% endif %}
|
||||
fts_tokenizers = generic email-address
|
||||
fts_autoindex = yes
|
||||
@ -82,6 +83,12 @@ plugin {
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
service indexer-worker {
|
||||
executable = /bin/nice -n 10 /usr/libexec/dovecot/indexer-worker
|
||||
# TODO: maybe MAXPROC? I guess it depends on how much RAM is available
|
||||
process_limit = 1
|
||||
}
|
||||
|
||||
###############
|
||||
# Authentication
|
||||
###############
|
||||
|
@ -137,6 +137,10 @@ services:
|
||||
oletools:
|
||||
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}oletools:${MAILU_VERSION:-{{ version }}}
|
||||
hostname: oletools
|
||||
logging:
|
||||
driver: journald
|
||||
options:
|
||||
tag: mailu-oletools
|
||||
restart: always
|
||||
networks:
|
||||
- noinet
|
||||
@ -151,7 +155,12 @@ services:
|
||||
{% if tika_enabled %}
|
||||
fts_attachments:
|
||||
image: apache/tika:2.9.0.0-full
|
||||
# ARM users may want iwishiwasaneagle/apache-tika-arm:2.1.0-full instead
|
||||
hostname: tika
|
||||
logging:
|
||||
driver: journald
|
||||
options:
|
||||
tag: mailu-tika
|
||||
restart: always
|
||||
networks:
|
||||
- fts_attachments
|
||||
@ -161,6 +170,12 @@ services:
|
||||
dns:
|
||||
- {{ dns }}
|
||||
{% endif %}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -nv -t1 -O /dev/null http://127.0.0.1:9998/tika || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
{% endif %}
|
||||
|
||||
antispam:
|
||||
|
@ -9,4 +9,5 @@ find /mailu/mail -type d -name xapian-indexes -prune -exec rm -r {} \+
|
||||
|
||||
And proactively force a reindexing using:
|
||||
|
||||
docker compose exec imap doveadm index -A '*'
|
||||
docker compose exec imap doveadm fts rescan -A
|
||||
docker compose exec imap doveadm user '*'|while read u; do docker compose exec imap doveadm index -u $u '*'; done
|
||||
|
Loading…
x
Reference in New Issue
Block a user