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
|
7 years ago | |
---|---|---|
scripts | 7 years ago | |
.gitignore | 7 years ago | |
Dockerfile | 7 years ago | |
LICENSE | 7 years ago | |
README.md | 7 years ago | |
build_grafana.sh | 7 years ago | |
run_grafana.sh | 7 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 \
...