From 6ad5f43172bef795f73248d8a44bc33f253c959c Mon Sep 17 00:00:00 2001 From: Mohamad Liyaghi Date: Wed, 14 Aug 2024 13:10:57 +0330 Subject: [PATCH] fix(docker-compose): image tags --- docker-compose.base.yaml | 10 +++++----- kubernetes/grafana.yaml | 2 +- kubernetes/loki.yaml | 2 +- kubernetes/node_exporter.yaml | 2 +- kubernetes/prometheus.yaml | 2 +- kubernetes/promtail.yaml | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docker-compose.base.yaml b/docker-compose.base.yaml index d47ac73..143240d 100644 --- a/docker-compose.base.yaml +++ b/docker-compose.base.yaml @@ -78,7 +78,7 @@ services: networks: - main promtail: - image: grafana/promtail + image: grafana/promtail:2.5.0 container_name: food-anywhere-promtail volumes: - ./promtail/config.yaml:/etc/promtail/promtail.yaml @@ -89,7 +89,7 @@ services: networks: - main loki: - image: grafana/loki + image: grafana/loki:2.5.0 container_name: food-anywhere-loki ports: - "3100:3100" @@ -98,7 +98,7 @@ services: networks: - main node_exporter: - image: quay.io/prometheus/node-exporter:latest + image: quay.io/prometheus/node-exporter:v1.2.2 container_name: food-anywhere-node-exporter restart: unless-stopped volumes: @@ -116,7 +116,7 @@ services: networks: - main prometheus: - image: prom/prometheus + image: prom/prometheus:v2.35.0 container_name: food-anywhere-prometheus volumes: - ./prometheus/config.yaml:/etc/prometheus/prometheus.yml @@ -134,7 +134,7 @@ services: networks: - main grafana: - image: grafana/grafana + image: grafana/grafana:8.2.3 container_name: food-anywhere-grafana ports: - 3000:3000 diff --git a/kubernetes/grafana.yaml b/kubernetes/grafana.yaml index b0935b1..89162b1 100644 --- a/kubernetes/grafana.yaml +++ b/kubernetes/grafana.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: grafana - image: grafana/grafana + image: grafana/grafana:8.2.3 ports: - containerPort: 3000 volumeMounts: diff --git a/kubernetes/loki.yaml b/kubernetes/loki.yaml index 523be1d..3a60e05 100644 --- a/kubernetes/loki.yaml +++ b/kubernetes/loki.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: loki - image: grafana/loki + image: grafana/loki:2.5.0 ports: - containerPort: 3100 --- diff --git a/kubernetes/node_exporter.yaml b/kubernetes/node_exporter.yaml index df2af2b..62e7fc9 100644 --- a/kubernetes/node_exporter.yaml +++ b/kubernetes/node_exporter.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: node-exporter - image: quay.io/prometheus/node-exporter:latest + image: quay.io/prometheus/node-exporter:v1.2.2 ports: - containerPort: 9100 diff --git a/kubernetes/prometheus.yaml b/kubernetes/prometheus.yaml index 8f8fd8f..db2e05a 100644 --- a/kubernetes/prometheus.yaml +++ b/kubernetes/prometheus.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: prometheus - image: prom/prometheus + image: prom/prometheus:v2.35.0 ports: - containerPort: 9090 volumeMounts: diff --git a/kubernetes/promtail.yaml b/kubernetes/promtail.yaml index d52f0f8..58e3bba 100644 --- a/kubernetes/promtail.yaml +++ b/kubernetes/promtail.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: promtail - image: grafana/promtail + image: grafana/promtail:2.5.0 args: - --config.file=/etc/promtail/promtail.yaml volumeMounts: