diff --git a/README.md b/README.md index a913eb5..00ca22c 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ This app will improve performance of image browsing at the cost of storage space ## Fulltextsearch with elasticsearch -1. For this you need to install these apps: +1. To start you need to install these apps: - [fulltextsearch](https://github.com/nextcloud/fulltextsearch) - [fulltextsearch_elasticsearch](https://github.com/nextcloud/fulltextsearch_elasticsearch) - [files_fulltextsearch](https://github.com/nextcloud/files_fulltextsearch) diff --git a/compose.elasticsearch.yaml b/compose.elasticsearch.yaml index 4323b88..bdf4d4a 100644 --- a/compose.elasticsearch.yaml +++ b/compose.elasticsearch.yaml @@ -28,6 +28,18 @@ services: gid: "1000" mode: 0600 + searchindexer: + image: nextcloud:27.1.3-fpm + volumes: + - nextcloud:/var/www/html/ + - nextapps:/var/www/html/custom_apps:cached + - nextdata:/var/www/html/data:cached + - nextconfig:/var/www/html/config:cached + - ${EXTRA_VOLUME} + networks: + - internal + entrypoint: su -p www-data -s /bin/sh -c '/var/www/html/occ fulltextsearch:live' + secrets: elasticsearch_password: external: true