Set-up docker container for Grafana Screenshots on Radon
This commit is contained in:
parent
bb95336f13
commit
8ad1c267ce
1 changed files with 16 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue