macbre / docker-sphinxsearch

Docker image for Sphinx search engine
https://hub.docker.com/r/macbre/sphinxsearch/
MIT License
55 stars 24 forks source link

Custom sphinx conf #15

Closed thewind1984 closed 3 years ago

thewind1984 commented 3 years ago

To be able to customize conf files it would be nice to have the possibility to set conf file throught ARGs

macbre commented 3 years ago

Hi, @thewind1984. I'm wondering what's the difference between the ability to provide path to sphinx config via a build arg vs being able to just mount your own config file as a volume to the fixed place (/opt/sphinx/conf/sphinx.conf in case of an image in this repository)?

thewind1984 commented 3 years ago

Hi, @thewind1984. I'm wondering what's the difference between the ability to provide path to sphinx config via a build arg vs being able to just mount your own config file as a volume to the fixed place (/opt/sphinx/conf/sphinx.conf in case of an image in this repository)?

Hi, @macbre , thank you for your question and sorry for late reply. With this fix I just want to be able to provide some different configs for Sphinx (for indexer / searchd) within single Docker container. Of course, one of them will be default config, but it's better to be able to name it with not default sphinx.conf name...

macbre commented 3 years ago

Thanks, @thewind1984