From c1bdccac543ef4e8756be32f39531561f6a4c76e Mon Sep 17 00:00:00 2001 From: p4u1 Date: Tue, 19 Dec 2023 14:54:21 +0100 Subject: [PATCH] live index --- README.md | 2 +- compose.elasticsearch.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) 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