Map data directory to a host machine
This commit is contained in:
parent
a1a9cb931b
commit
8821f7bfcf
|
@ -72,3 +72,5 @@ You can send metrics right from terminal:
|
|||
# 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
|
||||
```
|
||||
|
||||
Data is kept in `/data/graphite/whisper` directory on the host machine.
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
- '2004:2004/udp'
|
||||
- '7002:7002'
|
||||
volumes:
|
||||
- /data/graphite/whisper
|
||||
- /data/graphite/whisper:/data/graphite/whisper
|
||||
- /graphite-config
|
||||
# Brubeck (StatsD replacement)
|
||||
# Aggregates metrics before sending them to Carbon
|
||||
|
|
Loading…
Reference in New Issue