From 51a5485c4a04368cd178c9f2ebd8c81093e225bc Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 11 Jan 2019 15:35:33 +0100 Subject: [PATCH] Add xapian to the mailman-web container Whoosh completely breaks down on 4GB of mail archives, so provide xapian as an alternative. It's not hooked up automatically, but can be enabled in the config files. Related to issue #97. --- web/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/Dockerfile b/web/Dockerfile index 84f77cd..1071f2c 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -15,7 +15,7 @@ RUN set -ex \ postgresql-dev mariadb-dev python3-dev \ && apk add --no-cache --virtual .mailman-rundeps bash sassc \ postgresql-client mysql-client py-mysqldb curl mailcap \ - python3 py3-setuptools \ + python3 py3-setuptools xapian-core xapian-bindings-python3 \ && python3 -m pip install -U django==2.1.5 pip \ && python3 -m pip install mailmanclient==3.2.1 \ postorius==1.2.2 \ @@ -27,6 +27,7 @@ RUN set -ex \ dj-database-url \ mysqlclient \ typing \ + xapian-haystack \ && apk del .build-deps \ && addgroup -S mailman \ && adduser -S -G mailman mailman \