automated solr configuration export en deploy localy

This commit is contained in:
2021-10-07 22:18:55 +02:00
parent ca403873f5
commit b60aa7fae1
2 changed files with 11 additions and 0 deletions

8
bin/update_solr_config.sh Executable file
View File

@@ -0,0 +1,8 @@
#! /bin/bash
docker exec -i materiod8_php_1 drush solr-gsc database_search_autocomplete config.zip
mkdir ressources/solr/
mv public_html/web/config.zip ressources/solr/
unzip -o ressources/solr/config.zip -d solr_cores/materio/conf
unzip -o ressources/solr/config.zip -d solr_cores/materio_autocomplete/conf
docker-compose restart solr-new