mirror of https://github.com/interlegis/sapl.git
Browse Source
Mudando docker/docker-compose.yml para dist/docker-compose.yml Alteração no readme sobre a atualização do solr no docker Mudança do caminho do solr no arquivo solr.rstMateriaDiscussao
Gustavo274
3 years ago
committed by
GitHub
6 changed files with 84 additions and 13 deletions
@ -0,0 +1,12 @@ |
|||
#!/usr/bin/env bash |
|||
|
|||
SOLR_USER=solr |
|||
SOLR_PASSWORD=SolrRocks |
|||
SOLR_HOST=localhost |
|||
SOLR_PORT=8983 |
|||
|
|||
CONFIGSET_NAME=sapl_configset |
|||
CONFIGSET_FILE=sapl_configset.zip |
|||
|
|||
export SOLR_URL="http://$SOLR_USER:$SOLR_PASSWORD@$SOLR_HOST:$SOLR_PORT/solr/admin/configs?action=UPLOAD&name=$CONFIGSET_NAME&wt=json" |
|||
curl -X POST -L -F "file=@$CONFIGSET_FILE;type=application/zip" $SOLR_URL |
@ -0,0 +1,13 @@ |
|||
{ |
|||
"authentication":{ |
|||
"blockUnknown": true, |
|||
"class":"solr.BasicAuthPlugin", |
|||
"credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}, |
|||
"forwardCredentials": false, |
|||
"realm": "Solr Login" |
|||
}, |
|||
"authorization":{ |
|||
"class":"solr.RuleBasedAuthorizationPlugin", |
|||
"permissions":[{"name":"security-edit", "role":"admin"}], |
|||
"user-role":{"solr":"admin"} |
|||
}} |
Loading…
Reference in new issue