1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-08 04:04:42 +02:00

update statsd

This commit is contained in:
kev 2019-06-07 20:51:48 +08:00
parent de641bf6c9
commit 57f09a4544
2 changed files with 9 additions and 0 deletions

7
statsd/data/config.js Normal file
View File

@ -0,0 +1,7 @@
{
graphitePort: 2003
, graphiteHost: "graphite"
, port: 8125
, flushInterval: 60000
, backends: [ "./backends/graphite" ]
}

View File

@ -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