Update to kreuzwerker/docker:3.0.2 and the latest terraform

This commit is contained in:
Marc Fokkert
2023-07-27 12:56:20 +02:00
parent 4158cf6ebb
commit adbbb205e1
34 changed files with 2722 additions and 4096 deletions

View File

@@ -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"]