Expose prometheus over VPN
This commit is contained in:
parent
3dae8f3a27
commit
3fef15503e
|
@ -11,6 +11,12 @@ resource docker_container "prometheus" {
|
||||||
ip = "${var.ips["eth0"]}"
|
ip = "${var.ips["eth0"]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ports {
|
||||||
|
internal = 9090
|
||||||
|
external = 9090
|
||||||
|
ip = "${var.ips["tun0"]}"
|
||||||
|
}
|
||||||
|
|
||||||
command = ["--config.file=/etc/prometheus/prometheus.yml"]
|
command = ["--config.file=/etc/prometheus/prometheus.yml"]
|
||||||
|
|
||||||
volumes {
|
volumes {
|
||||||
|
|
Loading…
Reference in New Issue