wodby / drupal-php

PHP docker container image for Drupal
https://wodby.com/stacks/drupal
MIT License
61 stars 79 forks source link

Request: Integrating Blackfire Profiling #43

Closed thegreenbot closed 6 years ago

thegreenbot commented 7 years ago

Apologies if this is a noob question, but has anyone successfully set this up?

Configuring the agent seems easy enough with this:

blackfire: image: blackfire/blackfire environment:

  • BLACKFIRE_SERVER_ID
  • BLACKFIRE_SERVER_TOKEN

I'm not sure what to do about networking the php container to the blackfire container. I believe the PHP container needs the blackfire probe extension installed as well. I can do that myself, and create my own image if there's no plan to integrate. I'm just stuck on the networking bit. Thanks!

csandanov commented 7 years ago

Latest images (or tagged as 2.4.8) already come with blackfire probe extension, more details on how to use can be found here https://cloud.wodby.com/stackhub/ada51e9b-2204-45ee-8e49-a4151912a168/overview#blackfire