From 8ad1c267cebec3992c33c472a791f91c43763a38 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Wed, 3 Jan 2024 20:22:28 +0100 Subject: [PATCH] Set-up docker container for Grafana Screenshots on Radon --- host-radon.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/host-radon.yml b/host-radon.yml index 0a585e9..1648adf 100644 --- a/host-radon.yml +++ b/host-radon.yml @@ -209,6 +209,22 @@ tags: - labelprinter + - name: Setup docker container for Grafana Screenshots + docker_container: + name: grafana-screenshot + image: mrtux/grafana-screenshot:latest + pull: true + restart_policy: unless-stopped + detach: yes + env: + MQTT_BROKER_URL: "{{ kiosk_mqtt_host }}" + MQTT_TOPIC: "{{ kiosk_mqtt_topic }}" + GRAFANA_DASHBOARD_URL: "{{ kiosk_grafana_url }}" + GRAFANA_USERNAME: "{{ kiosk_grafana_user }}" + GRAFANA_PASSWORD: "{{ kiosk_grafana_pass }}" + tags: + - grafana-screenshot + handlers: - name: restart mosquitto docker_container: