mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
Add a recipe to ease installation of Blackfire
This commit is contained in:
@@ -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</>
|
||||
Reference in New Issue
Block a user