docker-carbon-aggregator
Minimal image based on python:2.7.12-alpine with carbon-aggregator daemon running.
Base usage
docker run -p 2023:2023 -p 2024:2024 mateuszm/carbon-cache
Configuration
You can configure all settings via environment variables prefixed with
"CARBON_OPT_".
You can also just create your own image and copy configuration into it:
COPY carbon.conf $GRAPHITE_CONF_DIR/carbon.conf
or mount it into container.
By default no aggregation-rules.conf is supplied. If you need one COPY it to
image:
COPY aggregation-rules.conf $GRAPHITE_CONF_DIR/aggregation-rules.conf
or mount it into container.
Config files (Everything in $GRAPHITE_CONF_DIR) are formated by image's
entrypoint with environment as keys, so you can dynamically change it's contents
by using environment variables in braces, e.g:
DESTINATIONS = {DESTINATIONS}
You can also pass additional options to carbon binary via CARBON_OPTS env:
docker run -e CARBON_OPTS="--instance agg-x" -p 2023:2023 -p 2024:2024 mateuszm/carbon-aggregator
On this page
Contributors
MIT License
Created September 11, 2016
Updated July 6, 2017