2018-03-05 23:23:29 +00:00
2018-02-28 01:26:13 -08:00
2018-03-05 23:22:52 +00:00
2018-02-27 22:53:41 -08:00
2018-02-28 01:20:23 -08:00
2018-02-28 01:26:13 -08:00

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 \
    ...
Description
Scripts for setting up a Docker image for Grafana.
Readme 51 KiB
Languages
Shell 83.2%
Dockerfile 16.8%