monitoring: Add option to disable rendering service

This commit is contained in:
saibotk 2021-07-22 17:21:33 +02:00
parent ae6c8360b7
commit a630b8d778
Signed by: saibotk
GPG key ID: 67585F0065E261D5
2 changed files with 3 additions and 0 deletions

View file

@ -46,6 +46,7 @@ monitoring_grafana_image_version: "{{ monitoring_grafana_version }}"
# Additional plugins, that should be installed (see https://grafana.com/docs/grafana/latest/installation/docker/)
monitoring_grafana_plugins: []
monitoring_grafana_renderer_enabled: true
# OAuth settings for grafana
monitoring_grafana_oauth:

View file

@ -77,6 +77,7 @@ services:
volumes:
- "{{ monitoring_grafana_location }}:/var/lib/grafana"
{% if monitoring_grafana_renderer_enabled %}
renderer:
image: docker.io/grafana/grafana-image-renderer:latest
mem_limit: 512mb
@ -88,6 +89,7 @@ services:
- no-new-privileges
networks:
grafana:
{% endif %}
influxdb:
image: docker.io/library/influxdb:{{ monitoring_influxdb_image_version }}