diff --git a/docker-bake.hcl b/docker-bake.hcl index 34308fcd..84543e2e 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -155,7 +155,7 @@ target "repository" { target "search_liveindexing" { matrix = { - liveindexing = ["metadata", "path"] + liveindexing = ["metadata", "path", "content"] } name = "search_liveindexing-${liveindexing}" args = { diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index 59a5c2af..fbb63eb2 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -191,6 +191,12 @@ services: environment: SPRING_ELASTICSEARCH_REST_URIS: http://elasticsearch:9200 SPRING_ACTIVEMQ_BROKERURL: nio://activemq:61616 + live-indexing-content: + image: alfresco-elasticsearch-live-indexing-content:latest + environment: + SPRING_ELASTICSEARCH_REST_URIS: http://elasticsearch:9200 + SPRING_ACTIVEMQ_BROKERURL: nio://activemq:61616 + ALFRESCO_SHAREDFILESTORE_BASEURL: http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file volumes: shared-file-store-volume: driver_opts: diff --git a/search/enterprise/README.md b/search/enterprise/README.md index ca5c17c9..db3ba187 100644 --- a/search/enterprise/README.md +++ b/search/enterprise/README.md @@ -7,7 +7,7 @@ Sets of variables configurable with your docker image ```yaml live-indexing-metadata: - image: alfresco-enterprise-search-metadata:YOUR-TAG + image: alfresco-elasticsearch-live-indexing-metadata:YOUR-TAG environment: SPRING_ELASTICSEARCH_REST_URIS: http://elasticsearch:9200 SPRING_ACTIVEMQ_BROKERURL: nio://activemq:61616 @@ -22,7 +22,7 @@ live-indexing-metadata: ```yaml live-indexing-path: - image: alfresco-enterprise-search-path:YOUR-TAG + image: alfresco-elasticsearch-live-indexing-path:YOUR-TAG environment: SPRING_ELASTICSEARCH_REST_URIS: http://elasticsearch:9200 SPRING_ACTIVEMQ_BROKERURL: nio://activemq:61616 @@ -31,3 +31,20 @@ live-indexing-path: - `SPRING_ELASTICSEARCH_REST_URIS` - Elasticsearch server, by default `http://elasticsearch:9200` - `SPRING_ACTIVEMQ_BROKERURL` - Alfresco ActiveMQ, by default `nio://activemq:61616` + +## content + +```yaml + +live-indexing-content: + image: alfresco-elasticsearch-live-indexing-content:YOUR-TAG + environment: + SPRING_ELASTICSEARCH_REST_URIS: http://elasticsearch:9200 + SPRING_ACTIVEMQ_BROKERURL: nio://activemq:61616 + ALFRESCO_SHAREDFILESTORE_BASEURL: http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file + +``` + +- `SPRING_ELASTICSEARCH_REST_URIS` - Elasticsearch server, by default `http://elasticsearch:9200` +- `SPRING_ACTIVEMQ_BROKERURL` - Alfresco ActiveMQ, by default `nio://activemq:61616` +- `ALFRESCO_SHAREDFILESTORE_BASEURL` - Alfresco Shared FileStore endpoint, by default `http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file/` diff --git a/search/enterprise/common/artifacts.json b/search/enterprise/common/artifacts.json index 01775474..8ef90155 100644 --- a/search/enterprise/common/artifacts.json +++ b/search/enterprise/common/artifacts.json @@ -14,6 +14,13 @@ "path": "search/enterprise/common", "classifier": "-app.jar", "group": "org.alfresco" + }, + { + "name": "alfresco-elasticsearch-live-indexing-content", + "version": "4.0.1", + "path": "search/enterprise/common", + "classifier": "-app.jar", + "group": "org.alfresco" } ] }