Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not set name of solr in case use user config. #19

Open
ffw-chuyen-luu opened this issue Apr 13, 2021 · 0 comments
Open

Can not set name of solr in case use user config. #19

ffw-chuyen-luu opened this issue Apr 13, 2021 · 0 comments

Comments

@ffw-chuyen-luu
Copy link

ffw-chuyen-luu commented Apr 13, 2021

Hi @lmakarov,
I tried to setup drupal 8 with search_api_solr-4.x, with added solr service under services in docksal.yml:

  solr:
    hostname: solr
    image: docksal/solr:7.5-2.0
    environment:
      - SOLR_DEFAULT_CONFIG_SET=solr7
    volumes:
      - ${PROJECT_ROOT}/.docksal/etc/solr/conf:/var/www/.docksal/etc/solr/conf:ro
    labels:
      io.docksal.virtual-host: solr.${VIRTUAL_HOST},solr.${VIRTUAL_HOST}.*
      io.docksal.virtual-port: '8983'

my solr config added to .docksal/etc/solr
but I got solr core named user-owned, not solr7 I was set up. And I see here is cause of issue https://github.com/docksal/service-solr/blob/develop/scripts/docksal-preinit#L5, SOLR_DEFAULT_CONFIG_SET is hard code in case use user config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant