{"id":15645911,"url":"https://github.com/macbre/docker-sphinxsearch","last_synced_at":"2025-04-28T15:42:46.292Z","repository":{"id":47679905,"uuid":"115286480","full_name":"macbre/docker-sphinxsearch","owner":"macbre","description":"Docker image for Sphinx search engine","archived":false,"fork":false,"pushed_at":"2024-04-14T11:37:20.000Z","size":36,"stargazers_count":55,"open_issues_count":1,"forks_count":24,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-30T10:51:13.805Z","etag":null,"topics":["docker-image","sphinx-search","wbc-archive"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/macbre/sphinxsearch/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macbre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-24T20:50:57.000Z","updated_at":"2024-08-03T15:01:46.000Z","dependencies_parsed_at":"2023-12-06T17:30:39.768Z","dependency_job_id":"fb957be7-e661-4fe5-a3e8-978134639c21","html_url":"https://github.com/macbre/docker-sphinxsearch","commit_stats":{"total_commits":35,"total_committers":5,"mean_commits":7.0,"dds":0.1428571428571429,"last_synced_commit":"48709e92a86224d227642c113cf56769e9806724"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macbre%2Fdocker-sphinxsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macbre%2Fdocker-sphinxsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macbre%2Fdocker-sphinxsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macbre%2Fdocker-sphinxsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macbre","download_url":"https://codeload.github.com/macbre/docker-sphinxsearch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251340829,"owners_count":21573989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-image","sphinx-search","wbc-archive"],"created_at":"2024-10-03T12:10:33.626Z","updated_at":"2025-04-28T15:42:46.271Z","avatar_url":"https://github.com/macbre.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker-sphinxsearch\nDocker image for [Sphinx search engine](http://sphinxsearch.com/docs/sphinx3.html)\n\n```\ndocker pull macbre/sphinxsearch:latest\n```\n\nor from GitHub Containers Registry:\n\n```\ndocker pull ghcr.io/macbre/sphinxsearch:latest\n```\n\n## Usage example\n\nYou can use this image in `docker-compose`-powered app:\n\n```yaml\nservices:\n  sphinx:\n    image: macbre/sphinxsearch:3.7.1\n    ports:\n    - \"127.0.0.1:36307:36307\" # bind to local interface only!\n    volumes:\n    - ./data:/opt/sphinx/indexes  # directory where sphinx will store index data\n    - ./sphinx.conf:/opt/sphinx/conf/sphinx.conf  # SphinxSE configuration file\n    mem_limit: 512m # match indexer.value from sphinx.conf\n```\n\nor you can provide your custom config file:\n\n```yaml\nservices:\n  sphinx:\n    image: macbre/sphinxsearch:3.7.1\n    environment:\n    - SPHINX_CONFIG_FILE=/opt/sphinx/conf/my_custom_file.conf\n    ports:\n    - \"127.0.0.1:36307:36307\" # bind to local interface only!\n    volumes:\n    - ./data:/opt/sphinx/indexes  # directory where sphinx will store index data\n    - ./my_custom_file.conf:/opt/sphinx/conf/my_custom_file.conf  # SphinxSE configuration file\n    mem_limit: 512m # match indexer.value from sphinx.conf\n```\n\n1. First, execute `docker-compose run sphinx indexer --all` to prepare indices. Otherwise, you'd end up with `WARNING: index 'test_index': prealloc: failed to open /opt/sphinx/indexes/test_index/test_index.sph: No such file or directory; NOT SERVING` error.\n2. Then, execute `docker-compose up -d` to run sphinsearch daemon in the background.\n\nRead more at https://lukaszherok.com/post/view/9/Running%20SphinxSearch%20in%20Podman%20container\n\n## [Tags available](https://hub.docker.com/r/macbre/sphinxsearch/tags/)\n\n### `3.7.1`, `latest`\n\n```\nSphinx 3.7.1 (commit da9f8a4e7)\nCopyright (c) 2001-2024, Andrew Aksyonoff\nCopyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)\nBuilt on: #1-Alpine SMP Tue, 19 Jul 2022 15:30:18 +0000\nBuilt with: GNU 10.3.1\nBuild date: Mar 28 2024\nBuild type: release\nConfigure flags: cmake\nCompiled DB drivers: mysql-dynamic pgsql-dynamic odbc-dynamic\nCompiled features: libexpat libstemmer re2 jemalloc\nVersions: binlog_format v.11, index_format v.63, udf_api v.23\nEnabled dynamic drivers: mysql pgsql\n````\n\n### `3.6.1`\n\n```\nSphinx 3.6.1 (commit c9dbedabf)\nCopyright (c) 2001-2023, Andrew Aksyonoff\nCopyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)\n\nBuilt on: #1-Alpine SMP Tue, 19 Jul 2022 15:30:18 +0000\nBuilt with: GNU 10.3.1\nBuild date: Oct  4 2023\nBuild type: release\nConfigure flags: cmake\nCompiled DB drivers: mysql-dynamic pgsql-dynamic odbc-dynamic\nCompiled features: libexpat libstemmer re2 jemalloc\nVersions: binlog_format v.10, index_format v.63, udf_api v.23\nEnabled dynamic drivers: mysql pgsql\n```\n\n### `3.5.1`\n\n```\nSphinx 3.5.1 (commit 82c60cbfe)\nCopyright (c) 2001-2023, Andrew Aksyonoff\nCopyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)\n\nBuilt on: Linux alpine314 5.10.131-0-lts #1-Alpine SMP Tue, 19 Jul 2022 15:30:18 +0000 x86_64 Linux\nBuilt with: gcc 10.3.1\nBuild date: Feb  2 2023\nBuild type: release\nConfigure flags:  '--enable-dl' '--with-mysql' '--with-pgsql' '--with-unixodbc' 'CXXFLAGS=-DSPHINX_TAG= -DNDEBUG -O3 -g1 -D__MUSL__' 'LDFLAGS=-static-libstdc++ -static-libgcc'\nCompiled DB drivers: mysql-dynamic pgsql-dynamic odbc-dynamic\nCompiled features: libexpat libstemmer re2 jemalloc\nVersions: binlog_format v.10, index_format v.62, udf_api v.23\n```\n\n### `3.4.1`\n\n```\nSphinx 3.4.1 (commit efbcc658)\nCopyright (c) 2001-2021, Andrew Aksyonoff\nCopyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)\n\nBuilt on: Linux alpine312 5.4.43-1-lts #2-Alpine SMP Thu, 28 May 2020 20:13:48 UTC x86_64 Linux\nBuilt with: gcc 9.3.0\nBuild date: Jul  9 2021\nBuild type: release\nConfigure flags:  '--enable-dl' '--with-mysql' '--with-pgsql' '--with-unixodbc' 'CXXFLAGS=-DSPHINX_TAG= -DNDEBUG -O3 -g1 -D__MUSL__' 'LDFLAGS=-static-libstdc++ -static-libgcc'\nCompiled DB drivers: mysql-dynamic pgsql-dynamic odbc-dynamic\nVersions: binlog_format v.8, index_format v.55, udf_api v.17\nEnabled dynamic drivers: mysql pgsql\n```\n\n### `3.3.1`\n\n```\nSphinx 3.3.1 (commit b72d67bc)\nCopyright (c) 2001-2020, Andrew Aksyonoff\nCopyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)\n\nBuilt on: Linux alpine312 5.4.43-1-lts #2-Alpine SMP Thu, 28 May 2020 20:13:48 UTC x86_64 Linux\nBuilt with: gcc 9.3.0\nBuild date: Jul  6 2020\nBuild type: release\nConfigure flags:  '--enable-dl' '--with-mysql' '--with-pgsql' '--with-unixodbc' 'CXXFLAGS=-DSPHINX_TAG= -DNDEBUG -O3 -g1 -D__MUSL__' 'LDFLAGS=-static-libstdc++ -static-libgcc'\nCompiled DB drivers: mysql-dynamic pgsql-dynamic odbc-dynamic\nEnabled dynamic drivers: mysql pgsql\n```\n\n### `3.2.1`\n\n```\nSphinx 3.2.1 (commit f152e0b8)\nCopyright (c) 2001-2020, Andrew Aksyonoff\nCopyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)\n\nBuilt on: Linux alpine38 4.14.69-0-vanilla #1-Alpine SMP Mon Sep 10 19:33:23 UTC 2018 x86_64 Linux\nBuilt with: gcc 6.4.0\nBuild date: Jan 31 2020\nBuild type: release\nConfigure flags:  '--enable-dl' '--with-mysql' '--with-pgsql' '--with-unixodbc' 'CXXFLAGS=-DSPHINX_TAG= -DNDEBUG -O3 -g1 -D__MUSL__' 'LDFLAGS=-static-libstdc++ -static-libgcc'\nCompiled DB drivers: mysql-dynamic pgsql-dynamic odbc-dynamic\nEnabled dynamic drivers: mysql pgsql\n```\n\n### `3.1.1`\n\n```\nSphinx 3.1.1 (commit 612d99f4)\nCopyright (c) 2001-2018, Andrew Aksyonoff\nCopyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)\n\nBuilt on: Linux alpine38 4.14.69-0-vanilla #1-Alpine SMP Mon Sep 10 19:33:23 UTC 2018 x86_64 Linux\nBuilt with: gcc 6.4.0\nBuild date: Oct 17 2018\nBuild type: release\nConfigure flags:  '--enable-dl' '--with-mysql' '--with-pgsql' '--with-unixodbc' 'CXXFLAGS=-DSPHINX_TAG= -DNDEBUG -O3 -g1 -D__MUSL__' 'LDFLAGS=-static-libstdc++ -static-libgcc'\nCompiled DB drivers: mysql-dynamic pgsql-dynamic odbc-dynamic\nEnabled dynamic drivers: mysql pgsql\n```\n\n### `3.0.3`\n\n```\nSphinx 3.0.3 (commit facc3fb)\nCopyright (c) 2001-2018, Andrew Aksyonoff\nCopyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)\n\nBuilt on: Linux ubuntu16 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\nBuilt with: gcc 5.4.0\nBuild date: Mar 30 2018\nBuild type: release\nConfigure flags:  '--enable-dl' '--with-mysql' '--with-pgsql' '--with-unixodbc' 'CXXFLAGS=-DSPHINX_TAG= -DNDEBUG -O3 -g1' 'LDFLAGS=-static-libstdc++'\nCompiled DB drivers: mysql-dynamic pgsql-dynamic odbc-dynamic\nEnabled dynamic drivers: mysql pgsql\n```\n\n### `3.0.1`\n\n```\nSphinx 3.0.1 (commit 7fec4f6)\nCopyright (c) 2001-2017, Andrew Aksyonoff\nCopyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)\n\nBuilt on: Linux ubuntu16desktop 4.4.0-101-generic #124-Ubuntu SMP Fri Nov 10 18:29:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux\nBuilt with: gcc 5.4.0\nBuild date: Dec 17 2017\nBuild type: release\nConfigure flags:  '--enable-dl' '--with-mysql' '--with-pgsql' 'CXXFLAGS=-DSPHINX_TAG= -g1' 'LDFLAGS=-static-libstdc++'\nCompiled DB drivers: mysql-dynamic pgsql-dynamic\nEnabled dynamic drivers: mysql pgsql\n```\n\n## Testing your changes locally\n\n```\ndocker build . -t macbre/docker-sphinxsearch\n\n# or fetch from the repository and tag it accordingly\ndocker pull ghcr.io/macbre/sphinxsearch:latest\ndocker tag ghcr.io/macbre/sphinxsearch:latest macbre/docker-sphinxsearch\n\nmake index\nmake start \u0026\u0026 sleep 2\nmake query\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacbre%2Fdocker-sphinxsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacbre%2Fdocker-sphinxsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacbre%2Fdocker-sphinxsearch/lists"}