add grafana_plugins variable to install plugins
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
a57950a038
commit
99dfea5887
|
@ -47,8 +47,10 @@ grafana_anonymous: false
|
||||||
grafana_snaphots_enabled: true
|
grafana_snaphots_enabled: true
|
||||||
|
|
||||||
# plugins to clone into the plugins directory
|
# plugins to clone into the plugins directory
|
||||||
grafana_plugins:
|
grafana_plugins: []
|
||||||
- https://github.com/GoshPosh/grafana-meta-queries/archive/0.0.3.zip
|
# URLs of plugin ZIP archives.
|
||||||
|
grafana_unsigned_plugins: []
|
||||||
|
# - https://github.com/GoshPosh/grafana-meta-queries/archive/0.0.3.zip
|
||||||
|
|
||||||
# Generic container options
|
# Generic container options
|
||||||
compose_recreate: 'smart'
|
compose_recreate: 'smart'
|
||||||
|
|
|
@ -47,4 +47,4 @@
|
||||||
owner: '{{ grafana_host_uid }}'
|
owner: '{{ grafana_host_uid }}'
|
||||||
group: docker
|
group: docker
|
||||||
remote_src: true
|
remote_src: true
|
||||||
with_items: '{{ grafana_plugins }}'
|
with_items: '{{ grafana_unsigned_plugins }}'
|
||||||
|
|
|
@ -5,6 +5,8 @@ services:
|
||||||
container_name: '{{ grafana_cont_name }}'
|
container_name: '{{ grafana_cont_name }}'
|
||||||
image: '{{ grafana_image }}'
|
image: '{{ grafana_image }}'
|
||||||
restart: always
|
restart: always
|
||||||
|
environment:
|
||||||
|
GF_INSTALL_PLUGINS: '{{ grafana_plugins | join(",") }}'
|
||||||
ports:
|
ports:
|
||||||
- '127.0.0.1:{{ grafana_cont_port }}:{{ grafana_cont_port }}'
|
- '127.0.0.1:{{ grafana_cont_port }}:{{ grafana_cont_port }}'
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue