Skip to content

Commit d15df81

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #583
2 parents fea3fde + 1bac287 commit d15df81

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

symfony/mercure-bundle/0.1/manifest.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,25 @@
1010
"env(MERCURE_JWT_SECRET)": ""
1111
},
1212
"env": {
13-
"MERCURE_PUBLISH_URL": "https://demo.mercure.rocks/hub",
14-
"MERCURE_JWT_SECRET": "#see https://mercure.rocks"
13+
"#1": "See https://symfony.com/doc/current/mercure.html#configuration",
14+
"MERCURE_PUBLISH_URL": "http://mercure/hub",
15+
"MERCURE_JWT_SECRET": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdfX0.Oo0yg7y4yMa1vr_bziltxuTCqb8JVHKxp-f_FwwOim0"
16+
},
17+
"docker-compose": {
18+
"services": [
19+
"mercure:",
20+
" # In production, you may want to use the managed version of Mercure, https://mercure.rocks",
21+
" image: dunglas/mercure",
22+
" environment:",
23+
" # You should definitely change all these values in production",
24+
" - JWT_KEY=!ChangeMe!",
25+
" - ALLOW_ANONYMOUS=1",
26+
" - CORS_ALLOWED_ORIGINS=*",
27+
" - PUBLISH_ALLOWED_ORIGINS=http://localhost:1337",
28+
" - DEMO=1",
29+
" ports:",
30+
" - \"1337:80\""
31+
]
1532
},
1633
"aliases": ["mercure"]
1734
}

0 commit comments

Comments
 (0)