Last active
July 30, 2019 21:57
-
-
Save neilgupta/f6d99ae875a0a04aeff7d11d2d2b9b8f to your computer and use it in GitHub Desktop.
Grafana + Statsd docker-compose
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
version: "3" | |
services: | |
grafana: | |
image: grafana/grafana | |
container_name: grafana | |
restart: always | |
ports: | |
- 80:3000 | |
networks: | |
- grafana-net | |
volumes: | |
- grafana-volume:/var/lib/grafana | |
graphite: | |
image: graphiteapp/graphite-statsd | |
container_name: graphite | |
restart: always | |
ports: | |
- 8125:8125/udp | |
- 8125:8125 | |
- 8126:8126 | |
networks: | |
- grafana-net | |
volumes: | |
- graphite-data:/opt/graphite/storage | |
networks: | |
grafana-net: | |
volumes: | |
grafana-volume: | |
external: true | |
graphite-data: | |
external: true |
Docker commands to run:
docker volume create --name=grafana-volume
docker volume create --name=graphite-data
docker-compose up -d
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add graphite to grafana as
http://graphite:8080/