Modified version of Mastodon that set Elasticsearch Tokenizer to Thai
4.0K
FROM ghcr.io/mastodon/mastodon:v4.3
USER root
RUN sed -i "s/uax_url_email/thai/" /opt/mastodon/app/chewy/statuses_index.rb
&& sed -i "s/whitespace/thai/" /opt/mastodon/app/chewy/accounts_index.rb
&& sed -i "s/keyword/thai/" /opt/mastodon/app/chewy/tags_index.rb
&& sed -E 's/indices.sum.+/2000/g' -i /opt/mastodon/lib/mastodon/cli/search.rb
USER mastodon
Content type
Image
Digest
sha256:699c2aa84…
Size
344.2 MB
Last updated
3 days ago
docker pull bankja/mastodon