21383: Adds http_endpoint="enabled" to Terraform's ec2 instances code.
[arvados.git] / tools / salt-install / config_examples / multi_host / aws / pillars / grafana.sls
1 ---
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: AGPL-3.0
5
6 grafana:
7   pkg:
8     name: grafana
9     use_upstream_archive: false
10     use_upstream_repo: true
11     repo:
12       humanname: grafana_official
13       name: deb https://apt.grafana.com/ stable main
14       file: /etc/apt/sources.list.d/grafana.list
15       key_url: https://apt.grafana.com/gpg.key
16       require_in:
17         - pkg: grafana
18   config:
19     default:
20       instance_name: __DOMAIN__
21     security:
22       admin_user: {{ "__MONITORING_USERNAME__" | yaml_dquote }}
23       admin_password: {{ "__MONITORING_PASSWORD__" | yaml_dquote }}
24       admin_email: {{ "__MONITORING_EMAIL__" | yaml_dquote }}
25     server:
26       protocol: http
27       http_addr: 127.0.0.1
28       http_port: 3000
29       domain: grafana.__DOMAIN__
30       root_url: https://grafana.__DOMAIN__