aboutsummaryrefslogtreecommitdiff
path: root/terraform/grafana/grafana.tf
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-08-22 21:45:35 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2024-08-22 21:45:35 +0200
commitb1892d6517abaf89d5deb624712b310ce3e1a5b9 (patch)
treea89b2ff710dff84e0b89326ee645b25529f74fb7 /terraform/grafana/grafana.tf
parent4c53a89d4102c9cbb512ee3cb4afe90e24605239 (diff)
downloadinfra-b1892d6517abaf89d5deb624712b310ce3e1a5b9.tar.gz
infra-b1892d6517abaf89d5deb624712b310ce3e1a5b9.tar.bz2
infra-b1892d6517abaf89d5deb624712b310ce3e1a5b9.tar.xz
infra-b1892d6517abaf89d5deb624712b310ce3e1a5b9.zip
grafana & prometheus
Diffstat (limited to 'terraform/grafana/grafana.tf')
-rw-r--r--terraform/grafana/grafana.tf4
1 files changed, 3 insertions, 1 deletions
diff --git a/terraform/grafana/grafana.tf b/terraform/grafana/grafana.tf
index 6d75da3..7cda977 100644
--- a/terraform/grafana/grafana.tf
+++ b/terraform/grafana/grafana.tf
@@ -12,12 +12,14 @@ resource "docker_container" "grafana" {
privileged = false
must_run = true
+ network_mode = "bridge"
+
networks_advanced {
name = data.docker_network.traefik.name
}
networks_advanced {
- name = data.docker_network.public.name
+ name = data.docker_network.private.name
}
dynamic "labels" {