Add a recipe to ease installation of Blackfire

This commit is contained in:
Fabien Potencier
2021-08-31 10:26:08 +02:00
parent 2de7f47ab7
commit 56c614302b
3 changed files with 38 additions and 0 deletions
@@ -0,0 +1,7 @@
scenarios: |
#!blackfire-player
scenario
name "Test homepage"
visit url('/')
expect status_code() == 200
@@ -0,0 +1,24 @@
{
"copy-from-recipe": {
".blackfire.yaml": ".blackfire.yaml"
},
"env": {
"#1": "Get your SERVER credentials at https://blackfire.io/my/settings/credentials",
"#2": "BLACKFIRE_SERVER_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"#3": "BLACKFIRE_SERVER_TOKEN=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
},
"docker-compose": {
"docker-compose.override.yml": {
"services": [
"blackfire:",
" image: blackfire/blackfire:2",
" # uncomment to store Blackfire credentials in a local .env.local file",
" #env_file: .env.local",
" environment:",
" BLACKFIRE_LOG_LEVEL: 4",
" ports: [8307]"
]
}
},
"aliases": ["blackfire"]
}
@@ -0,0 +1,7 @@
* Blackfire Agent has been configured in your <comment>docker-compose.override.yaml</> file
* Configure your Blackfire <comment>SERVER</> credentials in <info>.env.local</> (get them at https://blackfire.io/my/settings/credentials)
* Install the <comment>PHP probe</>: https://blackfire.io/docs/up-and-running/installation
* <fg=blue>Read</> the documentation at <comment>https://blackfire.io/docs</>