From 2d8cc35bb19d9209c41720c5049308c82222bdba Mon Sep 17 00:00:00 2001 From: Romain Monteil Date: Tue, 20 May 2025 13:55:45 +0200 Subject: [PATCH] Add recipe for cmsig/seal-symfony-bundle (#1799) --- .../0.8/config/packages/cmsig_seal.yaml | 12 ++++++++++++ .../0.8/config/schemas/.gitignore | 0 cmsig/seal-symfony-bundle/0.8/manifest.json | 19 +++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 cmsig/seal-symfony-bundle/0.8/config/packages/cmsig_seal.yaml create mode 100644 cmsig/seal-symfony-bundle/0.8/config/schemas/.gitignore create mode 100644 cmsig/seal-symfony-bundle/0.8/manifest.json diff --git a/cmsig/seal-symfony-bundle/0.8/config/packages/cmsig_seal.yaml b/cmsig/seal-symfony-bundle/0.8/config/packages/cmsig_seal.yaml new file mode 100644 index 00000000..6a50f9c3 --- /dev/null +++ b/cmsig/seal-symfony-bundle/0.8/config/packages/cmsig_seal.yaml @@ -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)%' diff --git a/cmsig/seal-symfony-bundle/0.8/config/schemas/.gitignore b/cmsig/seal-symfony-bundle/0.8/config/schemas/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/cmsig/seal-symfony-bundle/0.8/manifest.json b/cmsig/seal-symfony-bundle/0.8/manifest.json new file mode 100644 index 00000000..4f02017b --- /dev/null +++ b/cmsig/seal-symfony-bundle/0.8/manifest.json @@ -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" + } +}