Merge pull request #642

This commit is contained in:
symfony-flex-server[bot]
2019-08-23 16:48:38 +00:00
committed by GitHub
2 changed files with 3 additions and 6 deletions
@@ -2,4 +2,4 @@ mercure:
hubs:
default:
url: '%env(MERCURE_PUBLISH_URL)%'
jwt: '%env(MERCURE_JWT_SECRET)%'
jwt: '%env(MERCURE_JWT_TOKEN)%'
+2 -5
View File
@@ -5,14 +5,11 @@
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"container": {
"env(MERCURE_PUBLISH_URL)": "",
"env(MERCURE_JWT_SECRET)": ""
},
"env": {
"#1": "See https://symfony.com/doc/current/mercure.html#configuration",
"MERCURE_PUBLISH_URL": "http://mercure/hub",
"MERCURE_JWT_SECRET": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdfX0.Oo0yg7y4yMa1vr_bziltxuTCqb8JVHKxp-f_FwwOim0"
"#2": "The default token is signed with the secret key: !ChangeMe!",
"MERCURE_JWT_TOKEN": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdfX0.Oo0yg7y4yMa1vr_bziltxuTCqb8JVHKxp-f_FwwOim0"
},
"docker-compose": {
"services": [