Add dependency on webserver for attacker service and update curl command
This commit is contained in:
parent
f5b3dd4f92
commit
5d13bf0155
2 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,8 @@ services:
|
||||||
- 5001:5001
|
- 5001:5001
|
||||||
networks:
|
networks:
|
||||||
- mynetwork
|
- mynetwork
|
||||||
|
depends_on:
|
||||||
|
- webserver
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
mynetwork:
|
mynetwork:
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk add --no-cache curl iputils-ping
|
RUN apk add --no-cache curl iputils-ping
|
||||||
#curl --insecure https://localhost/
|
|
||||||
CMD ["curl", "--insecure", "https://webserver/"]
|
CMD ["curl", "--insecure", "https://webserver/"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue