Skip to content

Commit fc785ee

Browse files
committed
Add MercureBundle recipe
1 parent 0516ca4 commit fc785ee

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
mercure:
2+
hubs:
3+
default:
4+
url: '%env(MERCURE_PUBLISH_URL)%'
5+
jwt: '%env(MERCURE_JWT)%'
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"bundles": {
3+
"Symfony\\Bundle\\MercureBundle\\MercureBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
},
8+
"container": {
9+
"env(MERCURE_PUBLISH_URL)": "",
10+
"env(MERCURE_JWT)": ""
11+
},
12+
"env": {
13+
"MERCURE_PUBLISH_URL": "https://demo.mercure.rocks/hub",
14+
"MERCURE_JWT": "your.JWT.token"
15+
},
16+
"aliases": ["mercure"]
17+
}

0 commit comments

Comments
 (0)