File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -349,15 +349,16 @@ Blackfire.io allows you to monitor the performance of your applications. For mor
349
349
350
350
To configure Blackfire.io follow these simple steps :
351
351
352
- 1. Add the following to your `docker-compose.yml` file :
352
+ 1. Add the following to your `docker-compose.override. yml` file :
353
353
354
354
` ` ` yaml
355
355
blackfire:
356
- image: blackfire/blackfire
356
+ image: blackfire/blackfire:2
357
357
environment:
358
358
# Exposes the host BLACKFIRE_SERVER_ID and TOKEN environment variables.
359
359
- BLACKFIRE_SERVER_ID
360
360
- BLACKFIRE_SERVER_TOKEN
361
+ - BLACKFIRE_DISABLE_LEGACY_PORT=1
361
362
` ` `
362
363
363
364
2. Add your Blackfire.io id and server token to your `.env` file at the root of your project (be sure not to commit this to a public repository) :
@@ -382,7 +383,7 @@ To configure Blackfire.io follow these simple steps:
382
383
&& mkdir -p /tmp/blackfire \
383
384
&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \
384
385
&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \
385
- && printf "extension=blackfire.so\n blackfire.agent_socket=tcp://blackfire:8707 \n " > $PHP_INI_DIR/conf.d/blackfire.ini
386
+ && printf "extension=blackfire.so\n blackfire.agent_socket=tcp://blackfire:8307 \n " > $PHP_INI_DIR/conf.d/blackfire.ini
386
387
` ` `
387
388
388
389
4. Rebuild and restart all your containers
You can’t perform that action at this time.
0 commit comments