sphinx-searchExample of docker-compose with sphinxsearch
This is an example of a docker-compose.yml
file for running a SphinxSearch instance:
version: '3.7'
services:
sphinxsearch:
image: macbre/sphinxsearch
ports:
- "9306:9306"
environment:
SPHINX_CONFIG_TYPE: "master"
SPHINX_CONFIG_MASTER_HOST: "sphinxsearch"
SPHINX_CONFIG_MASTER_PORT: "9306"
SPHINX_CONFIG_MASTER_USER: "sphinx"
SPHINX_CONFIG_MASTER_PASS: "sphinx"
This example will create a SphinxSearch instance with the following configuration:
image
: The Docker image to use for the instance.ports
: The port mapping for the instance.environment
: The environment variables for the instance.
The output of this example will be a running SphinxSearch instance on port 9306.
Helpful links
More of Sphinx Search
- How to use phrase_boundary in SphinxSearch?
- How to specify stop words in SphinxSearch?
- How to get the version of SphinxSearch?
- How to use SphinxSearch with PHP?
- How to configure memory usage in SphinxSearch?
- How to restart SphinxSearch?
- How to delete data from a realtime index in SphinxSearch?
- How to use sql_attr_float in SphinxSearch?
- How to escape a search query in SphinxSearch?
- How to create a delta index in SphinxSearch?
See more codes...