Skip to content

Instantly share code, notes, and snippets.

@mklooss
Created September 17, 2019 08:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mklooss/72eaf24025236285593bc9903449ebbd to your computer and use it in GitHub Desktop.
Save mklooss/72eaf24025236285593bc9903449ebbd to your computer and use it in GitHub Desktop.
icinga2 - docker graphite simple
#!/bin/bash
docker run -d --name graphite \
--restart=always \
-p 127.0.0.1:8000:80 \
-p 127.0.0.1:2003-2004:2003-2004 \
-p 127.0.0.1:2023-2024:2023-2024 \
-p 127.0.0.1:8125:8125/udp \
-p 127.0.0.1:8126:8126 \
-v /opt/docker/graphite/conf:/opt/graphite/conf \
-v /opt/docker/graphite/data:/opt/graphite/storage \
-v /opt/docker/graphite/statsd:/opt/statsd/config \
graphiteapp/graphite-statsd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment