diff --git a/symfony/mercure-bundle/0.1/config/packages/mercure.yaml b/symfony/mercure-bundle/0.1/config/packages/mercure.yaml new file mode 100644 index 00000000..0bdbc755 --- /dev/null +++ b/symfony/mercure-bundle/0.1/config/packages/mercure.yaml @@ -0,0 +1,5 @@ +mercure: + hubs: + default: + url: '%env(MERCURE_PUBLISH_URL)%' + jwt: '%env(MERCURE_JWT_SECRET)%' diff --git a/symfony/mercure-bundle/0.1/manifest.json b/symfony/mercure-bundle/0.1/manifest.json new file mode 100644 index 00000000..469bbaf3 --- /dev/null +++ b/symfony/mercure-bundle/0.1/manifest.json @@ -0,0 +1,17 @@ +{ + "bundles": { + "Symfony\\Bundle\\MercureBundle\\MercureBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "container": { + "env(MERCURE_PUBLISH_URL)": "", + "env(MERCURE_JWT_SECRET)": "" + }, + "env": { + "MERCURE_PUBLISH_URL": "https://demo.mercure.rocks/hub", + "MERCURE_JWT_SECRET": "#see https://mercure.rocks" + }, + "aliases": ["mercure"] +}