Public Repository

Last pushed: 2 years ago
Short Description
Pre configured Grafana and Graphite for Geo RTB
Full Description

Pull the damn thing and run
You might need to do this first :
sudo apt-get -y install dos2unix &&\
dos2unix start &&\
dos2unix build &&\
dos2unix log

Then run the scripts:

#! /bin/bash

CONTAINER_NAME="grafana-dashboard"
if [ $(docker ps -a | grep $CONTAINER_NAME | awk '{print $NF}' | wc -l) -gt 0 ];then
docker kill $CONTAINER_NAME
docker rm $CONTAINER_NAME
fi
if [ -d "./logs" ];then
rm -fr ./logs/*
fi

hname(){
hostname -s
}

docker run -d -v $(pwd)/logs:/var/log/supervisor -p 80:80 -p 8125:8125/udp -p 8126:8126 -p 2003:2003 -p 2004:2004 -p 81:81 -e HOST_NAME_SHORT=$(hname) --name $CONTAINER_NAME samklr/grafana_graphite

Docker Pull Command
Owner
samklr