From b1892d6517abaf89d5deb624712b310ce3e1a5b9 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 22 Aug 2024 21:45:35 +0200 Subject: grafana & prometheus --- terraform/conflatorio-prometheus/main.tf | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 terraform/conflatorio-prometheus/main.tf (limited to 'terraform/conflatorio-prometheus/main.tf') diff --git a/terraform/conflatorio-prometheus/main.tf b/terraform/conflatorio-prometheus/main.tf new file mode 100644 index 0000000..f5c5a7f --- /dev/null +++ b/terraform/conflatorio-prometheus/main.tf @@ -0,0 +1,34 @@ +terraform { + required_version = "~> 1.3.5" + + required_providers { + docker = { + source = "kreuzwerker/docker" + version = "2.24.0" + } + postgresql = { + source = "cyrilgdn/postgresql" + version = "1.21.0" + } + random = { + source = "hashicorp/random" + version = "3.5.1" + } + sops = { + source = "lokkersp/sops" + version = "0.6.10" + } + } +} + +provider "docker" { + host = "ssh://conflatorio.vpn.trygvis.io" +} + +data "docker_network" "traefik" { + name = "traefik" +} + +data "docker_network" "private" { + name = "private" +} -- cgit v1.2.3