Sign inSign up

sstarcher/statsite

By sstarcher

Updated over 10 years ago

setup for statsite inside docker

Image
0

2.4K

sstarcher/statsite repository overview

docker-statsite

Image Layers Docker Registry

Docker container for Statsite

Configuration

The only required enviornment variable is STREAM_CMD. This should contain the command you want statsite to run as part of it's configuration.

Simple setups using influxdb can be configured via enviornment variables Set INFLUXDB_HOST, INFLUXDB_PORT, INFLUXDB_DB as needed. They default to localhost, 8086, and statsite respectively.

Also included is a extra sink called dual-sink that will allow you to send metrics to influxdb and graphite at the same time. To do this set the above variables as needed, as well as GRAPHITE_HOST and GRAPHITE_PORT.

Usage

Using influxdb (with defaults)

docker run -p 8125:8125 -p 8125:8125/udp -e STREAM_CMD="python /code/statsite/sinks/influxdb.py /configs/influxdb.ini INFO" nyxcharon/statsite

Tag summary

Content type

Image

Digest

Size

132.6 MB

Last updated

over 10 years ago

docker pull sstarcher/statsite