Update Flex endpoint

This commit is contained in:
github-action[bot]
2026-03-31 15:27:30 +00:00
parent 3794aa63ef
commit a3e169887b
4 changed files with 164 additions and 4 deletions
@@ -0,0 +1,80 @@
{
"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",
"#2": "The URL of the Mercure hub, used by the app to publish updates (can be a local URL)",
"MERCURE_URL": "https://example.com/.well-known/mercure",
"#3": "The public URL of the Mercure hub, used by the browser to connect",
"MERCURE_PUBLIC_URL": "https://example.com/.well-known/mercure",
"#4": "The secret used to sign the JWTs",
"MERCURE_JWT_SECRET": "!ChangeThisMercureHubJWTSecretKey!"
},
"docker-compose": {
"docker-compose.yml": {
"services": [
"mercure:",
" image: dunglas/mercure",
" restart: unless-stopped",
" environment:",
" # Uncomment the following line to disable HTTPS,",
" #SERVER_NAME: ':80'",
" MERCURE_PUBLISHER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'",
" MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'",
" # Set the URL of your Symfony project (without trailing slash!) as value of the cors_origins directive",
" MERCURE_EXTRA_DIRECTIVES: |",
" cors_origins http://127.0.0.1:8000",
" # Comment the following line to disable the development mode",
" command: /usr/bin/caddy run --config /etc/caddy/dev.Caddyfile",
" healthcheck:",
" test: [\"CMD\", \"curl\", \"-f\", \"https://localhost/healthz\"]",
" timeout: 5s",
" retries: 5",
" start_period: 60s",
" volumes:",
" - mercure_data:/data",
" - mercure_config:/config"
],
"volumes": [
"mercure_data:",
"mercure_config:"
]
},
"docker-compose.override.yml": {
"services": [
"mercure:",
" ports:",
" - \"80\""
]
}
}
},
"files": {
"config/packages/mercure.yaml": {
"contents": [
"mercure:",
" hubs:",
" default:",
" url: '%env(default::MERCURE_URL)%'",
" public_url: '%env(default::MERCURE_PUBLIC_URL)%'",
" jwt:",
" secret: '%env(MERCURE_JWT_SECRET)%'",
" publish: '*'",
""
],
"executable": false
}
},
"ref": "b141b8c8f13bc8c31d718a5488039b712c0d3592"
}
}
}
@@ -0,0 +1,80 @@
{
"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",
"#2": "The URL of the Mercure hub, used by the app to publish updates (can be a local URL)",
"MERCURE_URL": "https://example.com/.well-known/mercure",
"#3": "The public URL of the Mercure hub, used by the browser to connect",
"MERCURE_PUBLIC_URL": "https://example.com/.well-known/mercure",
"#4": "The secret used to sign the JWTs",
"MERCURE_JWT_SECRET": "!ChangeThisMercureHubJWTSecretKey!"
},
"docker-compose": {
"docker-compose.yml": {
"services": [
"mercure:",
" image: dunglas/mercure",
" restart: unless-stopped",
" environment:",
" # Uncomment the following line to disable HTTPS,",
" #SERVER_NAME: ':80'",
" MERCURE_PUBLISHER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'",
" MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'",
" # Set the URL of your Symfony project (without trailing slash!) as value of the cors_origins directive",
" MERCURE_EXTRA_DIRECTIVES: |",
" cors_origins http://127.0.0.1:8000",
" # Comment the following line to disable the development mode",
" command: /usr/bin/caddy run --config /etc/caddy/dev.Caddyfile",
" healthcheck:",
" test: [\"CMD\", \"curl\", \"-f\", \"https://localhost/healthz\"]",
" timeout: 5s",
" retries: 5",
" start_period: 60s",
" volumes:",
" - mercure_data:/data",
" - mercure_config:/config"
],
"volumes": [
"mercure_data:",
"mercure_config:"
]
},
"docker-compose.override.yml": {
"services": [
"mercure:",
" ports:",
" - \"80\""
]
}
}
},
"files": {
"config/packages/mercure.yaml": {
"contents": [
"mercure:",
" hubs:",
" default:",
" url: '%env(MERCURE_URL)%'",
" public_url: '%env(default::MERCURE_PUBLIC_URL)%'",
" jwt:",
" secret: '%env(MERCURE_JWT_SECRET)%'",
" publish: '*'",
""
],
"executable": false
}
},
"ref": "b682842d20a2e512913e3542c927b371d9ec1962"
}
}
}
+2 -2
View File
@@ -65,7 +65,7 @@
" hubs:",
" default:",
" url: '%env(MERCURE_URL)%'",
" public_url: '%env(MERCURE_PUBLIC_URL)%'",
" public_url: '%env(default::MERCURE_PUBLIC_URL)%'",
" jwt:",
" secret: '%env(MERCURE_JWT_SECRET)%'",
" publish: '*'",
@@ -74,7 +74,7 @@
"executable": false
}
},
"ref": "528285147494380298f8f991ee8c47abebaf79db"
"ref": "b682842d20a2e512913e3542c927b371d9ec1962"
}
}
}
+2 -2
View File
@@ -65,7 +65,7 @@
" hubs:",
" default:",
" url: '%env(default::MERCURE_URL)%'",
" public_url: '%env(MERCURE_PUBLIC_URL)%'",
" public_url: '%env(default::MERCURE_PUBLIC_URL)%'",
" jwt:",
" secret: '%env(MERCURE_JWT_SECRET)%'",
" publish: '*'",
@@ -74,7 +74,7 @@
"executable": false
}
},
"ref": "44d9b46826acbf1a22f19fbb6c252d097e6cef9b"
"ref": "b141b8c8f13bc8c31d718a5488039b712c0d3592"
}
}
}