Add MercureBundle recipe

This commit is contained in:
Kévin Dunglas
2018-11-30 16:13:13 +01:00
parent 230169dc8a
commit 7aab53c420
2 changed files with 22 additions and 0 deletions
@@ -0,0 +1,5 @@
mercure:
hubs:
default:
url: '%env(MERCURE_PUBLISH_URL)%'
jwt: '%env(MERCURE_JWT)%'
+17
View File
@@ -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"]
}