Skip to content

Commit a061e73

Browse files
docs: pin image versions in Docker examples
Address Copilot review: use pinned versions instead of :latest - haproxy:3.1 - curlimages/curl:8.11.1
1 parent 3bea762 commit a061e73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ services:
100100
memory: 256M
101101

102102
haproxy:
103-
image: haproxy:latest
103+
image: haproxy:3.1
104104
volumes:
105105
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
106106
ports:
@@ -143,7 +143,7 @@ services:
143143
# Use depends_on with service_healthy for dependent services
144144

145145
healthcheck:
146-
image: curlimages/curl:latest
146+
image: curlimages/curl:8.11.1
147147
command: ["sh", "-c", "while true; do curl -sf http://crowdsec-spoa-bouncer:6060/metrics > /dev/null && echo healthy || echo unhealthy; sleep 30; done"]
148148
depends_on:
149149
- crowdsec-spoa-bouncer

0 commit comments

Comments
 (0)