diff --git a/statsd/data/config.js b/statsd/data/config.js new file mode 100644 index 0000000..2ccfd04 --- /dev/null +++ b/statsd/data/config.js @@ -0,0 +1,7 @@ +{ + graphitePort: 2003 +, graphiteHost: "graphite" +, port: 8125 +, flushInterval: 60000 +, backends: [ "./backends/graphite" ] +} diff --git a/statsd/docker-compose.yml b/statsd/docker-compose.yml index 93b752a..60108a7 100644 --- a/statsd/docker-compose.yml +++ b/statsd/docker-compose.yml @@ -3,6 +3,8 @@ statsd: ports: - "8125:8125/udp" - "8126:8126/tcp" + volumes: + - ./data/config.js:/opt/statsd/config.js external_links: - graphite_graphite_1:graphite restart: always