mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Add recipe for cmsig/seal-symfony-bundle (#1799)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
cmsig_seal:
|
||||
schemas:
|
||||
default:
|
||||
dir: '%kernel.project_dir%/config/schemas'
|
||||
engine: default
|
||||
engines:
|
||||
default:
|
||||
adapter: '%env(resolve:SEAL_DSN)%'
|
||||
|
||||
when@test:
|
||||
cmsig_seal:
|
||||
index_name_prefix: 'test_%env(default::TEST_INDEX_PREFIX)%'
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"bundles": {
|
||||
"CmsIg\\Seal\\Integration\\Symfony\\SealBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Install one of the following adapters: https://php-cmsig.github.io/search/getting-started/index.html",
|
||||
"#2": "SEAL_DSN=\"meilisearch://127.0.0.1:7700\"",
|
||||
"#3": "SEAL_DSN=\"algolia://ALGOLIA_APPLICATION_ID:ALGOLIA_ADMIN_API_KEY\"",
|
||||
"#4": "SEAL_DSN=\"elasticsearch://127.0.0.1:9200\"",
|
||||
"#5": "SEAL_DSN=\"opensearch://127.0.0.1:9200\"",
|
||||
"#6": "SEAL_DSN=\"redis://127.0.0.1:6379\"",
|
||||
"#7": "SEAL_DSN=\"solr://127.0.0.1:8983\"",
|
||||
"#8": "SEAL_DSN=\"typesense://S3CR3T@127.0.0.1:8108\"",
|
||||
"SEAL_DSN": "loupe://%kernel.project_dir%/var/indexes"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user