From ce40941162d8695c1de166365b4044dc1a10d4d2 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Sat, 13 Jul 2024 14:32:31 +0000 Subject: [PATCH] Update Flex endpoint --- ...285147494380298f8f991ee8c47abebaf79db.json | 80 +++++++++++++++++++ symfony.mercure-bundle.0.3.json | 4 +- 2 files changed, 82 insertions(+), 2 deletions(-) create mode 100644 archived/symfony.mercure-bundle/528285147494380298f8f991ee8c47abebaf79db.json diff --git a/archived/symfony.mercure-bundle/528285147494380298f8f991ee8c47abebaf79db.json b/archived/symfony.mercure-bundle/528285147494380298f8f991ee8c47abebaf79db.json new file mode 100644 index 00000000..25ccc771 --- /dev/null +++ b/archived/symfony.mercure-bundle/528285147494380298f8f991ee8c47abebaf79db.json @@ -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(MERCURE_PUBLIC_URL)%'", + " jwt:", + " secret: '%env(MERCURE_JWT_SECRET)%'", + " publish: '*'", + "" + ], + "executable": false + } + }, + "ref": "528285147494380298f8f991ee8c47abebaf79db" + } + } +} diff --git a/symfony.mercure-bundle.0.3.json b/symfony.mercure-bundle.0.3.json index 9a0b9b67..25ccc771 100644 --- a/symfony.mercure-bundle.0.3.json +++ b/symfony.mercure-bundle.0.3.json @@ -34,7 +34,7 @@ " 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/Caddyfile.dev", + " command: /usr/bin/caddy run --config /etc/caddy/dev.Caddyfile", " healthcheck:", " test: [\"CMD\", \"curl\", \"-f\", \"https://localhost/healthz\"]", " timeout: 5s", @@ -74,7 +74,7 @@ "executable": false } }, - "ref": "d097c114aae82c5bc88d48ac164fe523f1003292" + "ref": "528285147494380298f8f991ee8c47abebaf79db" } } }