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.
This commit is contained in:
@@ -15,7 +15,7 @@ RUN set -ex \
|
|||||||
postgresql-dev mariadb-dev python3-dev \
|
postgresql-dev mariadb-dev python3-dev \
|
||||||
&& apk add --no-cache --virtual .mailman-rundeps bash sassc \
|
&& apk add --no-cache --virtual .mailman-rundeps bash sassc \
|
||||||
postgresql-client mysql-client py-mysqldb curl mailcap \
|
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 -U django==2.1.5 pip \
|
||||||
&& python3 -m pip install mailmanclient==3.2.1 \
|
&& python3 -m pip install mailmanclient==3.2.1 \
|
||||||
postorius==1.2.2 \
|
postorius==1.2.2 \
|
||||||
@@ -27,6 +27,7 @@ RUN set -ex \
|
|||||||
dj-database-url \
|
dj-database-url \
|
||||||
mysqlclient \
|
mysqlclient \
|
||||||
typing \
|
typing \
|
||||||
|
xapian-haystack \
|
||||||
&& apk del .build-deps \
|
&& apk del .build-deps \
|
||||||
&& addgroup -S mailman \
|
&& addgroup -S mailman \
|
||||||
&& adduser -S -G mailman mailman \
|
&& adduser -S -G mailman mailman \
|
||||||
|
|||||||
Reference in New Issue
Block a user