Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 984 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 984 Bytes

Collectd Graph Panel (CGP) Docker image

Production ready Docker container for Collectd Graph Panel (CGP) with collectd usage.

Features - why using this image instead of several others?

  • Uses alpine base image
  • This image is as small as possible - uses PHP built-in webserver
  • It's possible to completely change CGP's configuration
  • Installs latest CGP release

Usage

sudo docker run \
  -p 80:80 \
  -v ./folder-with-php-config-files:/config \
  -v /var/lib/collectd/rrd:/var/lib/collectd/rrd
  konjak/cgp

All provided env vars starting with CGP_ will be converted to config values for CGP.

It's also possible to mount a folder with php config files to /config. All *.php files in this folder will be executed after the base config.

Status

Production stable.