Merge branch 'acs-search-sharded' into acs-frontend-enterprise-sharded

This commit is contained in:
Brian Long 2021-08-05 15:15:30 -04:00
commit 4e7076bcc4

View File

@ -121,8 +121,6 @@ services:
- SOLR_SOLR_HOST=search
- SOLR_SOLR_PORT=8983
- ALFRESCO_SECURE_COMMS=none
ports:
- 8983:8983
healthcheck:
test: "curl -fsS http://localhost:8983/solr"
@ -130,8 +128,7 @@ services:
image: cfmanteiga/alpine-bash-curl-jq
mem_limit: 64m
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=1,2 &&
curl -s http://search:8983/solr/admin/cores?action=rename\\&core=alfresco-1\\&other=alfresco
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: