Update to kreuzwerker/docker:3.0.2 and the latest terraform
This commit is contained in:
@@ -8,7 +8,7 @@ resource "docker_image" "prometheus" {
|
||||
}
|
||||
|
||||
resource "docker_container" "prometheus" {
|
||||
image = docker_image.prometheus.latest
|
||||
image = docker_image.prometheus.image_id
|
||||
name = "prometheus"
|
||||
|
||||
command = ["--config.file=/etc/prometheus/prometheus.yml","--storage.tsdb.path=/prometheus", "--web.console.libraries=/usr/share/prometheus/console_libraries","--web.console.templates=/usr/share/prometheus/consoles", "--storage.tsdb.retention.time=2y"]
|
||||
|
||||
Reference in New Issue
Block a user