By default, the Docker compose template deploys the Elasticsearch connector services individually:
live-indexing-mediationthe service manages ActiveMQ messages from Alfresco Repository and Alfresco Transform Servicelive-indexing-contentthe service indexes content in Search Enterpriselive-indexing-metadatathe service indexes metadata in Search Enterprise
The docker-compose.yml file you generated includes:
live-indexing-mediation:
image: quay.io/alfresco/alfresco-elasticsearch-live-indexing-mediation:${LIVE_INDEXING_MEDIATION_TAG}
environment:
SPRING_ELASTICSEARCH_REST_URIS: http://elasticsearch:9200
SPRING_ACTIVEMQ_BROKERURL: nio://activemq:61616
live-indexing-content:
image: quay.io/alfresco/alfresco-elasticsearch-live-indexing-content:${LIVE_INDEXING_CONTENT_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/
live-indexing-metadata:
image: quay.io/alfresco/alfresco-elasticsearch-live-indexing-metadata:${LIVE_INDEXING_METADATA_TAG}
environment:
SPRING_ELASTICSEARCH_REST_URIS: http://elasticsearch:9200
SPRING_ACTIVEMQ_BROKERURL: nio://activemq:61616
Alternatively, you can use the all-in-one Docker image for the Elasticsearch connector named alfresco-elasticsearch-live-indexing that includes every service:
live-indexing:
image: quay.io/alfresco/alfresco-elasticsearch-live-indexing
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/
Note
If the Elasticsearch server is available on your environment, elasticsearch and kibana services can be removed from the docker-compose.yml file. You can adjust the references to the elasticsearch service in your Docker compose file to use your Elasticsearch deployment.