docksal / service-solr

Apache Solr service images for Docksal
https://docksal.io
MIT License
0 stars 8 forks source link

Where is search_api_solr_8.x-3.0 link created in the Dockerfile #21

Open danshumaker opened 2 years ago

danshumaker commented 2 years ago

Can someone point me to the line (in the Dockerfile) that creates this link (mount) that ends up in the image (running container) please? (the link to search_api_8.x-3.0 )

solr@solr:/opt/solr/server/solr/configsets$ ls -lat
total 16
drwxr-xr-x  5 solr solr 4096 Jun  1 03:10 .
lrwxrwxrwx  1 solr solr   51 Jun  1 03:10 search_api_solr_8.x-3.0 -> /opt/docker-solr/configsets/search_api_solr_8.x-3.0
drwxr-xr-x  6 solr solr 4096 May 31 21:30 ..
drwxr-xr-x  3 solr solr 4096 May 31 21:30 sample_techproducts_configs
drwxr-xr-x  3 solr solr 4096 May 31 21:30 _default
drwxr-xr-x 22 solr solr  704 May 31 21:18 drush_config_set
solr@solr:/opt/solr/server/solr/configsets$

I'm looking in the Dockerfile ( https://github.com/docksal/service-solr/blob/develop/Dockerfile ) but I can't find a mention of search_api_solr. I also looked here ( https://github.com/docker-solr/docker-solr/blob/master/8.6/Dockerfile ).

In writing solr core create instructions for the docs ( https://github.com/docksal/docksal/pull/1578 ) , I'd like to make them as brief and bullet proof and non-redundant as possible. I found that most of the solr core creation instructions do not work and found that I needed to create my own "drush_config_set" mount to get the cores to work correctly. However it looks like whoever created the search_api_solr_8.x-3.0 might have had the same problem (and thus perhaps the same solution).