Last active
January 6, 2017 00:37
-
-
Save davideicardi/d3bbbb625e42f0fdec84 to your computer and use it in GitHub Desktop.
Installing graphite and statsd within an Azure Docker
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
sudo docker run -d \ | |
--name graphite \ | |
--restart=always \ | |
-v /home/webplu/graphite/storage:/opt/graphite/storage \ | |
-v /home/webplu/log:/var/log \ | |
-p 80:80 \ | |
-p 2003:2003 \ | |
-p 8125:8125/udp \ | |
hopsoft/graphite-statsd | |
sudo mkdir -p /home/webplu/log/nginx | |
sudo mkdir -p /home/webplu/log/graphite | |
docker stop graphite | |
docker start graphite | |
sudo docker exec -i -t graphite bash | |
cd /opt/graphite/webapp/graphite | |
python manage.py syncdb | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment