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 regexp_filter in SphinxSearch?
- How to delete data from a realtime index in SphinxSearch?
- How to query a specific index in SphinxSearch?
- How to use forward slash in SphinxSearch?
- How to reload the configuration in SphinxSearch?
- How to use sql_attr_timestamp in SphinxSearch?
- How to offset results in SphinxSearch?
- How to use SphinxSearch with PHP?
- How to configure memory usage in SphinxSearch?
- How to delete an index in SphinxSearch?
See more codes...