Files
symfony-flex-recipes/archived/symfony.mercure-bundle/5ccc7689261ebcf98fc15a2e891ce77c65031c75.json
T
github-action[bot]andgithub-action[bot] a5298a919f Update Flex archives
2021-12-18 17:20:12 +00:00

55 lines
2.3 KiB
JSON

{
"manifests": {
"symfony/mercure-bundle": {
"manifest": {
"bundles": {
"Symfony\\Bundle\\MercureBundle\\MercureBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "See https://symfony.com/doc/current/mercure.html#configuration",
"MERCURE_PUBLISH_URL": "http://mercure/.well-known/mercure",
"#2": "The default token is signed with the secret key: !ChangeMe!",
"MERCURE_JWT_TOKEN": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdfX0.Oo0yg7y4yMa1vr_bziltxuTCqb8JVHKxp-f_FwwOim0"
},
"docker-compose": {
"docker-compose.yml": {
"services": [
"mercure:",
" # In production, you may want to use the managed version of Mercure, https://mercure.rocks",
" image: dunglas/mercure",
" environment:",
" # You should definitely change all these values in production",
" - JWT_KEY=!ChangeMe!",
" - ALLOW_ANONYMOUS=1",
" - CORS_ALLOWED_ORIGINS=*",
" - PUBLISH_ALLOWED_ORIGINS=http://localhost:1337",
" - DEMO=1",
" ports:",
" - \"1337:80\""
]
}
}
},
"files": {
"config/packages/mercure.yaml": {
"contents": [
"mercure:",
" hubs:",
" default:",
" url: '%env(MERCURE_PUBLISH_URL)%'",
" jwt: '%env(MERCURE_JWT_TOKEN)%'",
""
],
"executable": false
}
},
"ref": "5ccc7689261ebcf98fc15a2e891ce77c65031c75"
}
}
}