/sphinxsearch

docker sphinxsearch container

Primary LanguageShell

#Supported tags and respective Dockerfile links

#How to use this image

start a data container instance

docker run --name sphinx-files -v /etc/sphinx -v /var/spool/cron -v /var/lib/sphinx -v /var/log/sphinx busybox true

create config for sphinx

docker run --rm -ti --volumes-from sphinx-files gillbeits/sphinxsearch editconfig

run sphinx indexer (by default run indexer for all indexes)

docker run --rm -ti --volumes-from sphinx-files --link postgres:postgres gillbeits/sphinxsearch indexer [args]

start a sphinx instance and connect it with sphinx-files data container and postgres/mysql container

docker run -td --name sphinx -p 9306:9306 -p 9312:9312 --volumes-from sphinx-files --link postgres gillbeits/sphinxsearch sphinx

for change crontab in sphinx container

docker run --rm -ti --volumes-from sphinx-files gillbeits/sphinxsearch crontab

for SphinxQL usage sphinx container

docker run --rm -ti --link sphinx gillbeits/sphinxsearch console