infra-role-grafana/defaults/main.yml

56 lines
1.5 KiB
YAML

---
grafana_service_name: 'grafana'
grafana_service_path: '/docker/{{ grafana_service_name }}'
grafana_compose_file: '{{ grafana_service_path }}/docker-compose.yml'
# Container
grafana_version: '7.3.4'
grafana_image: 'grafana/grafana:{{ grafana_version }}'
grafana_cont_name: '{{ grafana_service_name }}'
grafana_cont_vol: '{{ grafana_service_path }}/data'
grafana_port: 9400
# see: http://docs.grafana.org/installation/docker/#migration-from-a-previous-version-of-the-docker-container-to-5-1-or-later
grafana_cont_uid: 472
# Permission adjust for dockremap.
grafana_host_uid: '{{ 100000 + grafana_cont_uid | int }}'
# Public domain
grafana_domain: ~
# Main configuration for sources
grafana_prometheus_sources: []
# - { name: 'node-01', addr: '1.2.3.4', port: 8080, path: 'proxy/' }
# Admin user
grafana_username: ~
grafana_password: ~
# OAuth secrets
grafana_oauth_id: ~
grafana_oauth_secret: ~
grafana_oauth_gh_org: 'status-im'
grafana_oauth_gh_team_ids: []
# SMTP for invite emails
grafana_smtp_enabled: false
grafana_smtp_from_addr: ~
grafana_smtp_from_name: ~
grafana_smtp_host: ~
grafana_smtp_port: ~
grafana_smtp_user: ~
grafana_smtp_pass: ~
# optional anonymous access
grafana_anonymous: false
# for disabling graph snapshots
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
# Generic container options
compose_recreate: 'smart'
compose_state: 'present'
compose_restart: false