Scripts for setting up a Docker image for Grafana.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Charles Reid a76d8d5143 Update 'scripts/run.sh' 4 years ago
scripts Update 'scripts/run.sh' 4 years ago
.gitignore Set grafana server and bind ip 4 years ago
Dockerfile Update 'Dockerfile' 4 years ago
LICENSE update license for 2018 4 years ago
README.md clarify heading 4 years ago
build_grafana.sh fix indentation in build script 4 years ago
run_grafana.sh Set grafana server and bind ip 4 years ago

README.md

d-grafana

This repo contains files for creating a Grafana Docker container.

Build and run the docker image

./build_grafana.sh
./run_grafana.sh

This uses the run script in scripts/ to run the grafana server.

The build script builds the container image using the Dockerfile.

The run script contains the docker run command.

This docker image is based on grafana-docker on github.

Persistent data

MongoDB will store data in /var/lib/grafana. Map /var/lib/grafana to the host to keep data persistent.

$ mkdir -p /tmp/mongodb

$ docker run \
    ...
    -v /tmp/grafana:/var/lib/grafana \
    ...