forked from Securing-DevOps/invoicer-chapter3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (39 loc) · 1.17 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: "3"
services:
# Ref: https://github.com/zaproxy/zaproxy/wiki/Docker
# Ref: https://github.com/zaproxy/zap-api-go/tree/master/example
# Ref: https://github.com/zaproxy/zaproxy/wiki/WebSwing
# Ref: https://github.com/zaproxy/zap-core-help/wiki/HelpCmdline
zaproxy:
image: owasp/zap2docker-bare:2.7.0
# image: owasp/zap2docker-stable:2.7.0
command: [
"zap.sh",
# "zap-x.sh",
# "zap-webswing.sh",
"-daemon",
"-host", "0.0.0.0", "-port", "8080",
"-config", "api.disablekey=true",
"-config", "api.addrs.addr.name=.*",
"-config", "api.addrs.addr.regex=true"
# "-addoninstall FOOXYZ",
# "-addonupdate"
]
ports:
- "127.0.0.1:8080:8080"
# volumes:
# - "/tmp/.X11-unix:/tmp/.X11-unix"
# - "${HOME}/.Xauthority:/home/zap/.Xauthority"
# environment:
# DISPLAY: "${IP}:0"
# Ref: https://github.com/psiinon/bodgeit
bodgeit:
image: psiinon/bodgeit:latest
ports:
- "127.0.0.1:8081:8080"
# Ref: https://github.com/bkimminich/juice-shop
# Ref: http://help.owasp-juice.shop
juiceshop:
image: bkimminich/juice-shop:latest
ports:
- "127.0.0.1:8082:3000"