diff --git a/README.md b/README.md index e1097c68..cba1db48 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,8 @@ The following environment variables are supported: | **PUPPETDB_HOSTNAME** | The DNS name of the puppetdb

Defaults to `puppetdb` | | **PUPPETDB_SSL_PORT** | The TLS port of the puppetdb

Defaults to `8081` | | **PUPPETSERVER_GRAPHITE_EXPORTER_ENABLED** | Activate the graphite exporter. Also needs **PUPPETSERVER_GRAPHITE_HOST** and **PUPPETSERVER_GRAPHITE_PORT**

Defaults to `false` | +| **PUPPETSERVER_GRAPHITE_HOST** | Only used if **PUPPETSERVER_GRAPHITE_EXPORTER_ENABLED** is set to `true`. FQDN or Hostname of the graphite server where puppet should push metrics to.

Default to `exporter` | +| **PUPPETSERVER_GRAPHITE_PORT** | Only used if **PUPPETSERVER_GRAPHITE_EXPORTER_ENABLED** is set to `true`. Port of the graphite server where puppet should push metrics to.

Default to `9109` | | **PUPPETSERVER_ENVIRONMENT_TIMEOUT** | Configure the environment timeout

Defaults to `unlimited` | ## Initialization Scripts diff --git a/puppetserver/Dockerfile b/puppetserver/Dockerfile index f92cb2f8..44e71652 100644 --- a/puppetserver/Dockerfile +++ b/puppetserver/Dockerfile @@ -39,6 +39,8 @@ ENV PUPPETSERVER_JAVA_ARGS="-Xms1024m -Xmx1024m" \ PUPPET_STORECONFIGS=true \ PUPPET_REPORTS="puppetdb" \ PUPPETSERVER_GRAPHITE_EXPORTER_ENABLED=false \ + PUPPETSERVER_GRAPHITE_PORT=9109 \ + PUPPETSERVER_GRAPHITE_HOST=exporter \ PUPPETSERVER_ENVIRONMENT_TIMEOUT=unlimited # NOTE: this is just documentation on defaults