Expose prometheus over VPN

This commit is contained in:
Nemo 2018-04-05 14:46:40 +05:30
parent 3dae8f3a27
commit 3fef15503e
1 changed files with 6 additions and 0 deletions

View File

@ -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 {