mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
version: '2'
|
|
services:
|
|
repo:
|
|
image: docker-internal.alfresco.com/platform:latest
|
|
environment:
|
|
JAVA_OPTS : "-Dsolr.secureComms=none -Dsolr.useDynamicShardRegistration=true"
|
|
ports:
|
|
- "7203:7203" #JMX connect via service:jmx:rmi:///jndi/rmi://localhost:7203/jmxrmi
|
|
- "5005:5005" #Java debugging
|
|
- "8082:8080" #Browser port
|
|
share:
|
|
image: docker-internal.alfresco.com/share:5.2.1-demo
|
|
ports:
|
|
- "8081:8080"
|
|
environment:
|
|
- "REPO_HOST=repo:8080"
|
|
solr6:
|
|
image: docker-internal.alfresco.com/alfresco-solr:develop-latest
|
|
command: [ "/opt/alfresco-solr/solr/bin/solr", "start", "-f", "-a",
|
|
"-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044"]
|
|
environment:
|
|
#Solr needs to know how to call Alfresco
|
|
SOLR_ALFRESCO_HOST: repo
|
|
SOLR_ALFRESCO_PORT: 8080
|
|
#Alfresco needs to know how to call solr
|
|
SOLR_SOLR_HOST: solr6
|
|
SOLR_SOLR_PORT: 8983
|
|
#Create the alfresco and archive cores
|
|
SOLR_CREATE_ALFRESCO_DEFAULTS : alfresco,archive
|
|
ports:
|
|
- "8083:8983" #Browser port
|
|
- "1044:1044" #Java debugging
|
|
#In the Index Server Shard Management Admin console the index server is: localhost:8083/solr
|