1
0
Fork 0

Map data directory to a host machine

This commit is contained in:
Gregory Eremin 2016-07-25 14:49:49 +02:00
parent a1a9cb931b
commit 8821f7bfcf
2 changed files with 3 additions and 1 deletions

View File

@ -72,3 +72,5 @@ You can send metrics right from terminal:
# To StatsD port on Docker # To StatsD port on Docker
$ for i in {1..1000}; do echo "test.ping:1|C" | nc -v -u -w1 `docker-machine ip` 8126; done $ for i in {1..1000}; do echo "test.ping:1|C" | nc -v -u -w1 `docker-machine ip` 8126; done
``` ```
Data is kept in `/data/graphite/whisper` directory on the host machine.

View File

@ -12,7 +12,7 @@ services:
- '2004:2004/udp' - '2004:2004/udp'
- '7002:7002' - '7002:7002'
volumes: volumes:
- /data/graphite/whisper - /data/graphite/whisper:/data/graphite/whisper
- /graphite-config - /graphite-config
# Brubeck (StatsD replacement) # Brubeck (StatsD replacement)
# Aggregates metrics before sending them to Carbon # Aggregates metrics before sending them to Carbon