system-config/playbooks/roles/grafana/templates/update-grafana-dashboards.sh.j2
Ian Wienand 70c1fb2dff grafana: update docs and make an import script
Update the docs to reflect not having grafyaml in the container.

Also move the import into a separate helper script, which can be
manually run on the host if the container needs to be restarted
out-of-band for some reason.

Change-Id: Ib1f6aea7e16180d9b122552a2aa30ce223426941
2022-01-25 14:18:04 +11:00

7 lines
180 B
Django/Jinja

#!/bin/bash
docker run --rm -t --network=host \
--env-file /etc/grafana/secrets/grafyaml.env \
-v /opt/project-config/grafana:/grafana:ro \
opendevorg/grafyaml