##################### Grafana Configuration Example ##################### # # Everything has defaults so you only need to uncomment things you want to # change # possible values : production, development ;app_mode = production # instance name, defaults to HOSTNAME environment variable value or hostname if HOSTNAME var is empty ;instance_name = ${HOSTNAME} # force migration will run migrations that might cause dataloss ;force_migration = false #################################### Paths #################################### [paths] # Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used) data = /srv/grafana/var # Temporary files in `data` directory older than given duration will be removed ;temp_data_lifetime = 24h # Directory where grafana can store logs ;logs = /var/log/grafana # Directory where grafana will automatically scan and look for plugins ;plugins = /var/lib/grafana/plugins #>GNUNUX plugins = /usr/lib/grafana/plugins #GNUNUX protocol = https #GNUNUX {% set location = general.revprox.revprox_client.revprox_client_external_domainnames[0].revprox_client_location %} {% if location.endswith('/') %} {% set location = location[:-1] %} {% endif %} root_url = https://{{ general.revprox.revprox_client.revprox_client_external_domainnames[0] }}{{ location }} #GNUNUX cert_file = {{ tls_cert_directory }}/revprox.crt cert_key = {{ tls_key_directory }}/revprox.key; #GNUNUX type = postgres host = {{ general.postgresql.pg_client_server_domainname }}:5432 name = {{ general.postgresql.pg_client_database }} user = {{ general.postgresql.pg_client_username }} password = {{ general.postgresql.pg_client_password }} ssl_mode = verify-full ca_cert_path = {{ general.tls_ca_directory }}/PostgreSQL.crt client_key_path = {{ general.tls_key_directory }}/postgresql.key client_cert_path = {{ general.tls_cert_directory }}/postgresql.crt #GNUNUX reporting_enabled = false #GNUNUX disable_initial_admin_creation = false admin_user = admin admin_password = {{ general.grafana.admin_password }} #,