Skip to content

Commit 9a58252

Browse files
committed
Simplify the MercureBundle recipe
1 parent 91d788e commit 9a58252

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

symfony/mercure-bundle/0.1/config/packages/mercure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ mercure:
22
hubs:
33
default:
44
url: '%env(MERCURE_PUBLISH_URL)%'
5-
jwt: '%env(MERCURE_JWT_SECRET)%'
5+
jwt: '%env(MERCURE_JWT_TOKEN)%'

symfony/mercure-bundle/0.1/manifest.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@
55
"copy-from-recipe": {
66
"config/": "%CONFIG_DIR%/"
77
},
8-
"container": {
9-
"env(MERCURE_PUBLISH_URL)": "",
10-
"env(MERCURE_JWT_SECRET)": ""
11-
},
128
"env": {
139
"#1": "See https://symfony.com/doc/current/mercure.html#configuration",
1410
"MERCURE_PUBLISH_URL": "http://mercure/hub",
15-
"MERCURE_JWT_SECRET": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdfX0.Oo0yg7y4yMa1vr_bziltxuTCqb8JVHKxp-f_FwwOim0"
11+
"#2": "The default token is signed with the secret key: !ChangeMe!",
12+
"MERCURE_JWT_TOKEN": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdfX0.Oo0yg7y4yMa1vr_bziltxuTCqb8JVHKxp-f_FwwOim0"
1613
},
1714
"docker-compose": {
1815
"services": [

0 commit comments

Comments
 (0)