Skip to content

Commit

Permalink
Add xapian to the mailman-web container
Browse files Browse the repository at this point in the history
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 maxking#97.
  • Loading branch information
Patrick Georgi committed Jan 16, 2019
1 parent 561abf6 commit 51a5485
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 51a5485

Please sign in to comment.