Compare commits

...

6 Commits

View File

@@ -27,6 +27,7 @@ services:
-Dsolr.host=search -Dsolr.host=search
-Dsolr.secureComms=secret -Dsolr.secureComms=secret
-Dsolr.sharedSecret=alfresco-secret -Dsolr.sharedSecret=alfresco-secret
-Dsolr.useDynamicShardRegistration=true
-Dalfresco.host=${PROXY_HOST} -Dalfresco.host=${PROXY_HOST}
-Dalfresco.port=${PROXY_PORT} -Dalfresco.port=${PROXY_PORT}
-Dalfresco.protocol=${PROXY_PROTOCOL} -Dalfresco.protocol=${PROXY_PROTOCOL}
@@ -58,7 +59,6 @@ services:
environment: environment:
SOLR_ALFRESCO_HOST: platform SOLR_ALFRESCO_HOST: platform
SOLR_SOLR_HOST: search SOLR_SOLR_HOST: search
SOLR_CREATE_ALFRESCO_DEFAULTS: alfresco,archive
ALFRESCO_SECURE_COMMS: secret ALFRESCO_SECURE_COMMS: secret
JAVA_TOOL_OPTIONS: " JAVA_TOOL_OPTIONS: "
-Dalfresco.secureComms.secret=alfresco-secret -Dalfresco.secureComms.secret=alfresco-secret
@@ -66,6 +66,15 @@ services:
healthcheck: healthcheck:
test: "curl -fsS http://localhost:8983/solr" test: "curl -fsS http://localhost:8983/solr"
search-shard-init:
image: cfmanteiga/alpine-bash-curl-jq
command: [ "bash", "-c", "
curl -s http://search:8983/solr/admin/cores?action=newCore\\&core=alfresco\\&storeRef=workspace://SpacesStore\\&numShards=2\\&nodeInstance=1\\&numNodes=1\\&template=rerank\\&shardIds=0,1
"]
depends_on:
search:
condition: service_healthy
activemq: activemq:
image: alfresco/alfresco-activemq:${AAMQ_TAG} image: alfresco/alfresco-activemq:${AAMQ_TAG}
environment: environment: