mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
[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:
@@ -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%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user