small enhancements (#1899)

This commit is contained in:
Casper 2021-04-12 12:08:17 +02:00 committed by GitHub
parent 87b5628696
commit deca22bcd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -20,6 +20,8 @@ The [dovecot-solr Plugin](https://wiki2.dovecot.org/Plugins/FTS/Solr) is used in
restart: always
mailserver:
depends_on:
- solr
image: mailserver/docker-mailserver:latest
...
volumes:
@ -44,12 +46,8 @@ The [dovecot-solr Plugin](https://wiki2.dovecot.org/Plugins/FTS/Solr) is used in
}
```
3. Start the solr container: `docker-compose up -d --remove-orphans solr`
4. Recreating the mailserver container: `docker-compose up -d`
5. Flag all user mailbox FTS indexes as invalid, so they are rescanned on demand when they are next searched: `docker-compose exec mailserver doveadm fts rescan -A`
3. Recreate containers: `docker-compose down ; docker-compose up -d`
4. Flag all user mailbox FTS indexes as invalid, so they are rescanned on demand when they are next searched: `docker-compose exec mailserver doveadm fts rescan -A`
## Further Discussion