From 67cff03ccad164488da1c9a47dc13f26e6bf68ea Mon Sep 17 00:00:00 2001 From: Piotr Skowron Date: Wed, 8 Apr 2026 22:26:59 +0200 Subject: [PATCH] [velPL/buggregator-profiler-bundle] Adds initial flex recipe for buggregator Symfony bundle (#1965) * adds initial flex recipe for buggregator Symfony bundle https://github.com/velPL/buggregator-profiler-bundle * adds missing package configuration * fixes computed profiler url --- .../config/packages/buggregator_profiler.yaml | 9 +++++ .../0.2/manifest.json | 37 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 velpl/buggregator-profiler-bundle/0.2/config/packages/buggregator_profiler.yaml create mode 100644 velpl/buggregator-profiler-bundle/0.2/manifest.json diff --git a/velpl/buggregator-profiler-bundle/0.2/config/packages/buggregator_profiler.yaml b/velpl/buggregator-profiler-bundle/0.2/config/packages/buggregator_profiler.yaml new file mode 100644 index 00000000..8e1384d3 --- /dev/null +++ b/velpl/buggregator-profiler-bundle/0.2/config/packages/buggregator_profiler.yaml @@ -0,0 +1,9 @@ +buggregator_profiler: + enabled: false + application_name: 'Symfony App' + profiler_url: '%env(string:BUGGREGATOR_BUNDLE_PROFILER_URL)%' + +when@dev: + buggregator_profiler: + enabled: true + profiler_url: '%env(string:BUGGREGATOR_BUNDLE_PROFILER_URL)%' diff --git a/velpl/buggregator-profiler-bundle/0.2/manifest.json b/velpl/buggregator-profiler-bundle/0.2/manifest.json new file mode 100644 index 00000000..84d85b61 --- /dev/null +++ b/velpl/buggregator-profiler-bundle/0.2/manifest.json @@ -0,0 +1,37 @@ +{ + "bundles": { + "Velpl\\BuggregatorProfilerBundle\\BuggregatorProfilerBundle": [ + "all" + ] + }, + "env": { + "BUGGREGATOR_PROFILER_PORT" : "", + "BUGGREGATOR_PROFILER_URL" : "", + "BUGGREGATOR_BUNDLE_PROFILER_URL" : "${BUGGREGATOR_PROFILER_URL:-http://127.0.0.1}:${BUGGREGATOR_PROFILER_PORT:-8000}", + "BUGGREGATOR_BUNDLE_SMTP_PORT" : "${BUGGREGATOR_BUNDLE_SMTP_PORT:-1025}", + "BUGGREGATOR_BUNDLE_VARDUMPER_PORT" : "${BUGGREGATOR_BUNDLE_VARDUMPER_PORT:-9912}", + "BUGGREGATOR_BUNDLE_MONOLOG_PORT" : "${BUGGREGATOR_BUNDLE_MONOLOG_PORT:-9913}", + "BUGGREGATOR_BUNDLE_CONTAINER_NAME" : "", + "BUGGREGATOR_BUNDLE_IMAGE_TAG" : "" + }, + "docker-compose": { + "compose.yaml": { + "services": { + "buggregator-profiler": { + "image": " ghcr.io/buggregator/server:${BUGGREGATOR_BUNDLE_IMAGE_TAG:-latest}", + "container_name": " ${BUGGREGATOR_BUNDLE_CONTAINER_NAME:-buggregator-profiler}", + "ports": [ + "- \"${BUGGREGATOR_PROFILER_PORT}:8000\"", + "- \"${BUGGREGATOR_BUNDLE_SMTP_PORT}:1025\"", + "- \"${BUGGREGATOR_BUNDLE_VARDUMPER_PORT}:9912\"", + "- \"${BUGGREGATOR_BUNDLE_MONOLOG_PORT}:9913\"" + ], + "restart": " unless-stopped" + } + } + } + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}