From 7aab53c4209a5798ed5812e90057f221e6ea7923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Fri, 26 Oct 2018 15:46:21 +0200 Subject: [PATCH] Add MercureBundle recipe --- .../0.1/config/packages/mercure.yaml | 5 +++++ symfony/mercure-bundle/0.1/manifest.json | 17 +++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 symfony/mercure-bundle/0.1/config/packages/mercure.yaml create mode 100644 symfony/mercure-bundle/0.1/manifest.json 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..102f15e8 --- /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)%' diff --git a/symfony/mercure-bundle/0.1/manifest.json b/symfony/mercure-bundle/0.1/manifest.json new file mode 100644 index 00000000..c8c68c91 --- /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)": "" + }, + "env": { + "MERCURE_PUBLISH_URL": "https://demo.mercure.rocks/hub", + "MERCURE_JWT": "your.JWT.token" + }, + "aliases": ["mercure"] +}