diff --git a/monitoring/prometheus.tf b/monitoring/prometheus.tf index 8cf3a6f..0928d36 100644 --- a/monitoring/prometheus.tf +++ b/monitoring/prometheus.tf @@ -11,6 +11,12 @@ resource docker_container "prometheus" { ip = "${var.ips["eth0"]}" } + ports { + internal = 9090 + external = 9090 + ip = "${var.ips["tun0"]}" + } + command = ["--config.file=/etc/prometheus/prometheus.yml"] volumes {