Merge branch 'acs-search-sharded' into acs-frontend-enterprise-sharded
This commit is contained in:
commit
4e7076bcc4
@ -121,8 +121,6 @@ services:
|
|||||||
- SOLR_SOLR_HOST=search
|
- SOLR_SOLR_HOST=search
|
||||||
- SOLR_SOLR_PORT=8983
|
- SOLR_SOLR_PORT=8983
|
||||||
- ALFRESCO_SECURE_COMMS=none
|
- ALFRESCO_SECURE_COMMS=none
|
||||||
ports:
|
|
||||||
- 8983:8983
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "curl -fsS http://localhost:8983/solr"
|
test: "curl -fsS http://localhost:8983/solr"
|
||||||
|
|
||||||
@ -130,8 +128,7 @@ services:
|
|||||||
image: cfmanteiga/alpine-bash-curl-jq
|
image: cfmanteiga/alpine-bash-curl-jq
|
||||||
mem_limit: 64m
|
mem_limit: 64m
|
||||||
command: [ "bash", "-c", "
|
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=newCore\\&core=alfresco\\&storeRef=workspace://SpacesStore\\&numShards=2\\&nodeInstance=1\\&numNodes=1\\&template=rerank\\&shardIds=0,1
|
||||||
curl -s http://search:8983/solr/admin/cores?action=rename\\&core=alfresco-1\\&other=alfresco
|
|
||||||
"]
|
"]
|
||||||
depends_on:
|
depends_on:
|
||||||
search:
|
search:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user