From 5f77724b317deedb0515bc72458c99b84454ffe0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 22:18:09 +0000 Subject: [PATCH] Pin dependencies --- docker/Dockerfile.nginx | 4 ++-- docker/docker-compose.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile.nginx b/docker/Dockerfile.nginx index 5950fc1..95ad6dd 100644 --- a/docker/Dockerfile.nginx +++ b/docker/Dockerfile.nginx @@ -1,4 +1,4 @@ -FROM nginx:mainline AS builder +FROM nginx:mainline@sha256:9705bd536e75ac8fc63367571f425def7d1263d6119d02b5d716f80218829c52 AS builder # Install necessary build tools RUN apt-get update && apt-get install -y wget build-essential libpcre3-dev zlib1g-dev libssl-dev @@ -16,7 +16,7 @@ RUN cd nginx-$NGINX_VERSION && \ ./configure --with-compat --add-dynamic-module=../nginx-module-vts-0.2.2 && \ make modules -FROM nginx:mainline +FROM nginx:mainline@sha256:9705bd536e75ac8fc63367571f425def7d1263d6119d02b5d716f80218829c52 # Copy the compiled module COPY --from=builder /nginx-$NGINX_VERSION/objs/ngx_http_vhost_traffic_status_module.so /usr/lib/nginx/modules/ diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index dbe9462..b428fa7 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -33,7 +33,7 @@ services: nginx-exporter: <<: *base container_name: nginx-exporter - image: nginx/nginx-prometheus-exporter + image: nginx/nginx-prometheus-exporter@sha256:6477cf3bddc4e042d3496856fb2e8e382301bac47fb18cb83924389717261cb1 command: - -nginx.scrape-uri=http://nginx/metrics ports: @@ -44,7 +44,7 @@ services: prometheus: <<: *base container_name: prometheus - image: prom/prometheus + image: prom/prometheus@sha256:3b9b2a15d376334da8c286d995777d3b9315aa666d2311170ada6059a517b74f ports: - "9090:9090" volumes: @@ -55,7 +55,7 @@ services: grafana: <<: *base container_name: grafana - image: grafana/grafana + image: grafana/grafana@sha256:fa801ab6e1ae035135309580891e09f7eb94d1abdbd2106bdc288030b028158c ports: - "3000:3000" volumes: