mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Add recipe for meilisearch/search-bundle (#1494)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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
|
||||
36
meilisearch/search-bundle/0.10/manifest.json
Normal file
36
meilisearch/search-bundle/0.10/manifest.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"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\""
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
4
meilisearch/search-bundle/0.10/post-install.txt
Normal file
4
meilisearch/search-bundle/0.10/post-install.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
* Edit the configuration in <fg=green>config/packages/meilisearch.yaml</>
|
||||
to start indexing your data.
|
||||
|
||||
Documentation: https://github.com/meilisearch/meilisearch-symfony/wiki
|
||||
Reference in New Issue
Block a user