diff --git a/RECIPES.md b/RECIPES.md index d6413d51..bf09c306 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -310,6 +310,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [mcfedr/awspushbundle](https://packagist.org/packages/mcfedr/awspushbundle) | [6.11](mcfedr/awspushbundle/6.11) | | [mediamonks/rest-api-bundle](https://packagist.org/packages/mediamonks/rest-api-bundle) | [3.0](mediamonks/rest-api-bundle/3.0) | | [mediamonks/sonata-media-bundle](https://packagist.org/packages/mediamonks/sonata-media-bundle) | [2.0](mediamonks/sonata-media-bundle/2.0) | +| [meilisearch/search-bundle](https://packagist.org/packages/meilisearch/search-bundle) | [0.10](meilisearch/search-bundle/0.10) | | [merceslab/spreadsheet-client-bundle](https://packagist.org/packages/merceslab/spreadsheet-client-bundle) | [1.0](merceslab/spreadsheet-client-bundle/1.0) | | [meritoo/common-bundle](https://packagist.org/packages/meritoo/common-bundle) | [0.1](meritoo/common-bundle/0.1) | | [meteo-concept/hcaptcha-bundle](https://packagist.org/packages/meteo-concept/hcaptcha-bundle) | [1.0](meteo-concept/hcaptcha-bundle/1.0) | diff --git a/archived/meilisearch.search-bundle/f0730f97441a5391832fb176305f69abe86b70a3.json b/archived/meilisearch.search-bundle/f0730f97441a5391832fb176305f69abe86b70a3.json new file mode 100644 index 00000000..6f6f801a --- /dev/null +++ b/archived/meilisearch.search-bundle/f0730f97441a5391832fb176305f69abe86b70a3.json @@ -0,0 +1,70 @@ +{ + "manifests": { + "meilisearch/search-bundle": { + "manifest": { + "bundles": { + "Meilisearch\\Bundle\\MeilisearchBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Uncomment the following line if you use Meilisearch through Docker", + "#2": "MEILISEARCH_URL=http://meilisearch:7700", + "MEILISEARCH_URL": "http://127.0.0.1:7700", + "MEILISEARCH_API_KEY": "!ChangeMe!", + "MEILISEARCH_PREFIX": "app_${APP_ENV}_" + }, + "docker-compose": { + "docker-compose.yml": { + "services": [ + "meilisearch:", + " image: getmeili/meilisearch:${MEILISEARCH_VERSION:-v1.0}", + " environment:", + " # You should definitely change the master key in production", + " MEILI_MASTER_KEY: ${MEILI_MASTER_KEY:-!ChangeMe!}", + " volumes:", + " - meilisearch_data:/meili_data" + ], + "volumes": [ + "meilisearch_data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "meilisearch:", + " ports:", + " - \"7700\"" + ] + } + }, + "post-install-output": [ + " * Edit the configuration in config/packages/meilisearch.yaml", + " to start indexing your data.", + "", + "Documentation: https://github.com/meilisearch/meilisearch-symfony/wiki" + ] + }, + "files": { + "config/packages/meilisearch.yaml": { + "contents": [ + "meilisearch:", + " url: '%env(MEILISEARCH_URL)%' # URL of the Meilisearch server (mandatory)", + " api_key: '%env(MEILISEARCH_API_KEY)%' # API key to access the Meilisearch server (mandatory)", + " prefix: '%env(MEILISEARCH_PREFIX)%'", + " indices:", + " # Define entities or documents that should be indexed to Meilisearch.", + " # See https://github.com/meilisearch/meilisearch-symfony/wiki/configure-searchable-data", + " #- name: posts", + " # class: App\\Entity\\Post", + "" + ], + "executable": false + } + }, + "ref": "f0730f97441a5391832fb176305f69abe86b70a3" + } + } +} diff --git a/index.json b/index.json index 3bf7c549..0b9cd265 100644 --- a/index.json +++ b/index.json @@ -965,6 +965,9 @@ "mediamonks/sonata-media-bundle": [ "2.0" ], + "meilisearch/search-bundle": [ + "0.10" + ], "merceslab/spreadsheet-client-bundle": [ "1.0" ], diff --git a/meilisearch.search-bundle.0.10.json b/meilisearch.search-bundle.0.10.json new file mode 100644 index 00000000..6f6f801a --- /dev/null +++ b/meilisearch.search-bundle.0.10.json @@ -0,0 +1,70 @@ +{ + "manifests": { + "meilisearch/search-bundle": { + "manifest": { + "bundles": { + "Meilisearch\\Bundle\\MeilisearchBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Uncomment the following line if you use Meilisearch through Docker", + "#2": "MEILISEARCH_URL=http://meilisearch:7700", + "MEILISEARCH_URL": "http://127.0.0.1:7700", + "MEILISEARCH_API_KEY": "!ChangeMe!", + "MEILISEARCH_PREFIX": "app_${APP_ENV}_" + }, + "docker-compose": { + "docker-compose.yml": { + "services": [ + "meilisearch:", + " image: getmeili/meilisearch:${MEILISEARCH_VERSION:-v1.0}", + " environment:", + " # You should definitely change the master key in production", + " MEILI_MASTER_KEY: ${MEILI_MASTER_KEY:-!ChangeMe!}", + " volumes:", + " - meilisearch_data:/meili_data" + ], + "volumes": [ + "meilisearch_data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "meilisearch:", + " ports:", + " - \"7700\"" + ] + } + }, + "post-install-output": [ + " * Edit the configuration in config/packages/meilisearch.yaml", + " to start indexing your data.", + "", + "Documentation: https://github.com/meilisearch/meilisearch-symfony/wiki" + ] + }, + "files": { + "config/packages/meilisearch.yaml": { + "contents": [ + "meilisearch:", + " url: '%env(MEILISEARCH_URL)%' # URL of the Meilisearch server (mandatory)", + " api_key: '%env(MEILISEARCH_API_KEY)%' # API key to access the Meilisearch server (mandatory)", + " prefix: '%env(MEILISEARCH_PREFIX)%'", + " indices:", + " # Define entities or documents that should be indexed to Meilisearch.", + " # See https://github.com/meilisearch/meilisearch-symfony/wiki/configure-searchable-data", + " #- name: posts", + " # class: App\\Entity\\Post", + "" + ], + "executable": false + } + }, + "ref": "f0730f97441a5391832fb176305f69abe86b70a3" + } + } +}