Sign inSign up

andreasjansson/docker-xhprof

By andreasjansson

Updated almost 11 years ago

Dockerfile for xhprof PHP profiler backend and UI, from preinheimer/xhprof

Image
2

1.3K

andreasjansson/docker-xhprof repository overview

Docker-XHProf

Docker image created from preinheimer/xhprof. Trusted build at https://index.docker.io/u/andreasjansson/docker-xhprof/, pull from andreasjansson/docker-xhprof.

XHProf is a really nice PHP profiling tool developed by Facebook. P Reinheimer's patch adds a GUI with customisable backends.

This Docker image stores the profiling in MySQL. The GUI sits behind Apache, with optional HTTP auth. The image also gives you SSH access, so you can access the insides of the container while it's running.

Docker stuff

Environment variables
  • DB_USER

    • XHProf database username, required
  • DB_PASS

    • XHProf database password, required
  • HTTP_AUTH_USER

    • HTTP authentication username (optional)
  • HTTP_AUTH_PASS

    • HTTP authentication password (optional)
Ports
  • 80

    • The web GUI (should probably be exposed)
  • 3306

    • The database (should also probably be exposed)
  • 22

    • SSH access, user: root, password: root (should definitely not be exposed)

Tag summary

Content type

Image

Digest

sha256:3e6a5028d

Size

159.9 MB

Last updated

almost 11 years ago

docker pull andreasjansson/docker-xhprof