[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
This commit is contained in:
Piotr Skowron
2026-04-09 00:26:59 +04:00
committed by GitHub
parent cc0ba90128
commit 67cff03cca
2 changed files with 46 additions and 0 deletions
@@ -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)%'
@@ -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%/"
}
}