Created
September 30, 2015 16:22
-
-
Save dudleycarr/c752ed28e55aab550e45 to your computer and use it in GitHub Desktop.
Docker Compose for nsq, StatsD, Graphite, and Grafana
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graphitestatsd: | |
image: hopsoft/graphite-statsd | |
expose: | |
- 80 | |
- 8125/udp | |
ports: | |
- 8080:80 | |
nsqlookupd: | |
image: nsqio/nsq:v0.3.5 | |
command: /nsqlookupd | |
expose: | |
- 4160 | |
- 4161 | |
nsqadmin: | |
image: nsqio/nsq:v0.3.5 | |
command: "sh -c '/nsqadmin \ | |
--lookupd-http-address=nsqlookupd:4161 \ | |
--graphite-url=http://graphitestatsd \ | |
--proxy-graphite=true | |
'" | |
links: | |
- nsqlookupd | |
- nsqd | |
- graphitestatsd | |
expose: | |
- 4171 | |
ports: | |
- 4171:4171 | |
nsqd: | |
image: nsqio/nsq:v0.3.5 | |
volumes: | |
- /data | |
command: "sh -c '/nsqd \ | |
--data-path=/data \ | |
--statsd-address=graphitestatsd:8125 \ | |
--lookupd-tcp-address=nsqlookupd:4160 \ | |
'" | |
links: | |
- nsqlookupd | |
- graphitestatsd | |
expose: | |
- 4150 | |
- 4151 | |
ports: | |
- 4150:4150 | |
- 4151:4151 | |
grafana: | |
image: grafana/grafana | |
ports: | |
- 3000:3000 | |
links: | |
- graphitestatsd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!