-
Notifications
You must be signed in to change notification settings - Fork 1
/
.lando.yml
20 lines (20 loc) · 1.13 KB
/
.lando.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: bulwark
services:
solr:
type: solr:5
portforward: true
run:
- mkdir -p /opt/solr/server/solr/lib/contrib/
- cp -r /opt/solr/contrib/analysis-extras/ /opt/solr/server/solr/lib/contrib/
- solr delete -c lando # Deleting lando created core because it raises errors.
- mkdir -p /opt/solr/server/solr/configsets/bulwark_config/conf # Copying solr config from docker container
- curl -o /opt/solr/server/solr/configsets/bulwark_config/conf/schema.xml https://gitlab.library.upenn.edu/dld/digital-repository/solr5_dev/-/raw/master/conf/schema.xml
- curl -o /opt/solr/server/solr/configsets/bulwark_config/conf/solrconfig.xml https://gitlab.library.upenn.edu/dld/digital-repository/solr5_dev/-/raw/master/conf/solrconfig.xml
- curl "http://localhost:8983/solr/admin/cores?action=CREATE&name=bulwark-development&instanceDir=bulwark-development&configSet=bulwark_config"
- curl "http://localhost:8983/solr/admin/cores?action=CREATE&name=bulwark-test&instanceDir=bulwark-test&configSet=bulwark_config"
mysql:
type: mysql:5.7.31
portforward: 3307
proxy:
solr:
- bulwark.solr.lndo.site:8983