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
|
||||
|
||||
# plugins to clone into the plugins directory
|
||||
grafana_plugins:
|
||||
- https://github.com/GoshPosh/grafana-meta-queries/archive/0.0.3.zip
|
||||
grafana_plugins: []
|
||||
# URLs of plugin ZIP archives.
|
||||
grafana_unsigned_plugins: []
|
||||
# - https://github.com/GoshPosh/grafana-meta-queries/archive/0.0.3.zip
|
||||
|
||||
# Generic container options
|
||||
compose_recreate: 'smart'
|
||||
|
|
|
@ -47,4 +47,4 @@
|
|||
owner: '{{ grafana_host_uid }}'
|
||||
group: docker
|
||||
remote_src: true
|
||||
with_items: '{{ grafana_plugins }}'
|
||||
with_items: '{{ grafana_unsigned_plugins }}'
|
||||
|
|
|
@ -5,6 +5,8 @@ services:
|
|||
container_name: '{{ grafana_cont_name }}'
|
||||
image: '{{ grafana_image }}'
|
||||
restart: always
|
||||
environment:
|
||||
GF_INSTALL_PLUGINS: '{{ grafana_plugins | join(",") }}'
|
||||
ports:
|
||||
- '127.0.0.1:{{ grafana_cont_port }}:{{ grafana_cont_port }}'
|
||||
volumes:
|
||||
|
|
Loading…
Reference in New Issue