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
|
# 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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue