mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Add MercureBundle recipe
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
mercure:
|
||||
hubs:
|
||||
default:
|
||||
url: '%env(MERCURE_PUBLISH_URL)%'
|
||||
jwt: '%env(MERCURE_JWT)%'
|
||||
@@ -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"]
|
||||
}
|
||||
Reference in New Issue
Block a user