diff --git a/symfony/mercure-bundle/0.3/config/packages/mercure.yaml b/symfony/mercure-bundle/0.3/config/packages/mercure.yaml new file mode 100644 index 00000000..f2a73954 --- /dev/null +++ b/symfony/mercure-bundle/0.3/config/packages/mercure.yaml @@ -0,0 +1,8 @@ +mercure: + hubs: + default: + url: '%env(MERCURE_URL)%' + public_url: '%env(MERCURE_PUBLIC_URL)%' + jwt: + secret: '%env(MERCURE_JWT_SECRET)%' + publish: '*' diff --git a/symfony/mercure-bundle/0.3/manifest.json b/symfony/mercure-bundle/0.3/manifest.json new file mode 100644 index 00000000..76bb94d0 --- /dev/null +++ b/symfony/mercure-bundle/0.3/manifest.json @@ -0,0 +1,18 @@ +{ + "bundles": { + "Symfony\\Bundle\\MercureBundle\\MercureBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "See https://symfony.com/doc/current/mercure.html#configuration", + "#2": "The URL of the Mercure hub, used by the app to publish updates (can be a local URL)", + "MERCURE_URL": "https://127.0.0.1:8000/.well-known/mercure", + "#3": "The public URL of the Mercure hub, used by the browser to connect", + "MERCURE_PUBLIC_URL": "https://127.0.0.1:8000/.well-known/mercure", + "#4": "The secret used to sign the JWTs", + "MERCURE_JWT_SECRET": "!ChangeMe!" + }, + "aliases": ["mercure"] +}