aboutsummaryrefslogtreecommitdiff
path: root/terraform/hash-grafana/grafana.tf
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/hash-grafana/grafana.tf')
-rw-r--r--terraform/hash-grafana/grafana.tf4
1 files changed, 2 insertions, 2 deletions
diff --git a/terraform/hash-grafana/grafana.tf b/terraform/hash-grafana/grafana.tf
index 2c0f719..b425e72 100644
--- a/terraform/hash-grafana/grafana.tf
+++ b/terraform/hash-grafana/grafana.tf
@@ -1,5 +1,5 @@
resource "docker_image" "grafana" {
- name = "grafana/grafana-oss:10.1.5"
+ name = "grafana/grafana-oss:11.2.2"
}
resource "docker_volume" "grafana" {
@@ -38,7 +38,6 @@ resource "docker_container" "grafana" {
env = [
"GF_DATABASE_TYPE=postgres",
- # "GF_DATABASE_HOST=[fdf3:aad9:a885:b3a::1]",
"GF_DATABASE_HOST=knot.dn42.trygvis.io",
"GF_DATABASE_DATABASE=${postgresql_database.grafana.name}",
"GF_DATABASE_USER=${postgresql_role.grafana.name}",
@@ -48,5 +47,6 @@ resource "docker_container" "grafana" {
volumes {
volume_name = docker_volume.grafana.name
container_path = "/var/lib/grafana"
+ read_only = false
}
}