Skip to content

Commit f3b1d14

Browse files
authored
Merge pull request #993 from symfony/blackfire
Add a recipe to ease installation of Blackfire
2 parents bdddc2b + 56c6143 commit f3b1d14

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
scenarios: |
2+
#!blackfire-player
3+
4+
scenario
5+
name "Test homepage"
6+
visit url('/')
7+
expect status_code() == 200
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"copy-from-recipe": {
3+
".blackfire.yaml": ".blackfire.yaml"
4+
},
5+
"env": {
6+
"#1": "Get your SERVER credentials at https://blackfire.io/my/settings/credentials",
7+
"#2": "BLACKFIRE_SERVER_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
8+
"#3": "BLACKFIRE_SERVER_TOKEN=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
9+
},
10+
"docker-compose": {
11+
"docker-compose.override.yml": {
12+
"services": [
13+
"blackfire:",
14+
" image: blackfire/blackfire:2",
15+
" # uncomment to store Blackfire credentials in a local .env.local file",
16+
" #env_file: .env.local",
17+
" environment:",
18+
" BLACKFIRE_LOG_LEVEL: 4",
19+
" ports: [8307]"
20+
]
21+
}
22+
},
23+
"aliases": ["blackfire"]
24+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
* Blackfire Agent has been configured in your <comment>docker-compose.override.yaml</> file
2+
3+
* Configure your Blackfire <comment>SERVER</> credentials in <info>.env.local</> (get them at https://blackfire.io/my/settings/credentials)
4+
5+
* Install the <comment>PHP probe</>: https://blackfire.io/docs/up-and-running/installation
6+
7+
* <fg=blue>Read</> the documentation at <comment>https://blackfire.io/docs</>

0 commit comments

Comments
 (0)