Add recipe for cmsig/seal-symfony-bundle (#1799)

This commit is contained in:
Romain Monteil
2025-05-20 13:55:45 +02:00
committed by GitHub
parent 88fb52b60b
commit 2d8cc35bb1
3 changed files with 31 additions and 0 deletions
@@ -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"
}
}