Update dovecot-solr.md

This commit is contained in:
Brennan Kinney 2024-06-18 15:29:19 +12:00 committed by GitHub
parent 0af3ba2708
commit 42602339f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 35 additions and 32 deletions

View File

@ -20,7 +20,10 @@ An FTS backend supported by Dovecot is [Apache Solr][github-solr], a fast and ef
As the official DMS image does not provide `dovecot-solr`, you'll need to include the package in your own image (_extending a DMS release as a base image_), or via our [`user-patches.sh` feature][docs::user-patches]:
=== "`user-patches.sh`"
<!-- This empty quote block is purely for a visual border -->
!!! quote ""
=== "`user-patches.sh`"
If you'd prefer to avoid a custom image build. This approach is simpler but with the caveat that any time the container is restarted, you'll have a delay as the package is installed each time.
@ -30,7 +33,7 @@ As the official DMS image does not provide `dovecot-solr`, you'll need to includ
apt-get update && apt-get install dovecot-solr
```
=== "`compose.yaml`"
=== "`compose.yaml`"
A custom DMS image does not add much friction. You do not need a separate `Dockerfile` as Docker Compose supports building from an inline `Dockerfile` in your `compose.yaml`.