Skip to content

Commit

Permalink
Pin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Dec 5, 2024
1 parent f2af967 commit 4e106b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.nginx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nginx:mainline AS builder
FROM nginx:mainline@sha256:fb197595ebe76b9c0c14ab68159fd3c08bd067ec62300583543f0ebda353b5be AS builder

# Install necessary build tools
RUN apt-get update && apt-get install -y wget build-essential libpcre3-dev zlib1g-dev libssl-dev
Expand All @@ -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:fb197595ebe76b9c0c14ab68159fd3c08bd067ec62300583543f0ebda353b5be

# Copy the compiled module
COPY --from=builder /nginx-$NGINX_VERSION/objs/ngx_http_vhost_traffic_status_module.so /usr/lib/nginx/modules/
Expand Down
6 changes: 3 additions & 3 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
nginx-exporter:
<<: *base
container_name: nginx-exporter
image: nginx/nginx-prometheus-exporter
image: nginx/nginx-prometheus-exporter@sha256:a5a1e3ee01c1456c6c690ca05d5bcb1eac65753e66e3e9951317284b34190edd
command:
- -nginx.scrape-uri=http://nginx/metrics
ports:
Expand All @@ -44,7 +44,7 @@ services:
prometheus:
<<: *base
container_name: prometheus
image: prom/prometheus
image: prom/prometheus@sha256:565ee86501224ebbb98fc10b332fa54440b100469924003359edf49cbce374bd
ports:
- "9090:9090"
volumes:
Expand All @@ -55,7 +55,7 @@ services:
grafana:
<<: *base
container_name: grafana
image: grafana/grafana
image: grafana/grafana@sha256:d8ea37798ccc41061a62ab080f2676dda6bf7815558499f901bdb0f533a456fb
ports:
- "3000:3000"
volumes:
Expand Down

0 comments on commit 4e106b8

Please sign in to comment.