-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
74 lines (71 loc) · 1.61 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: '3.8'
x-services-volume:
&services-volume
type: bind
source: .
target: /usr/src/app
networks:
pentest:
driver: bridge
services:
# analysis env
analysis:
build:
context: .
dockerfile: dockerfiles/Dockerfile.analysis
#entrypoint: Xvfb :1 -screen 0 1024x768x24 &
volumes:
- *services-volume
# - .:/usr/src/app
environment:
- DISPLAY=:1
ports:
- 8888:8888
command: poetry run poe jn
networks:
- pentest
# navigate to: http://localhost:9090/zap/
zap:
#image: owasp/zap2docker-weekly
build:
context: .
dockerfile: dockerfiles/Dockerfile.zap
volumes:
- <<: *services-volume
target: /zap/wrk
networks:
- pentest
ports:
- 9090:8080
- 9100:8090
user: zap
stdin_open: true
command: zap-webswing.sh
# dvwa:
# image: vulnerables/web-dvwa
# ports:
# - 9990:80
# webgoat:
# image: webgoat/webgoat
# ports:
# - 9991:8080
# - 9090:9090
# environment:
# - TZ=Europe/Amsterdam
# https://github.com/webpwnized/mutillidae-docker/blob/master/docker-compose.yml
#mutillidae:
# ...
juice-shop:
image: bkimminich/juice-shop
ports:
- 9993:3000
networks:
- pentest
# splash server to scrape dynamic pages
# splash:
# restart: "no" # Options: on-failure, unless-stopped, always
# # assign the built image a name(:tag)
# image: scrapinghub/splash
# ports:
# # splash service
# - "8050:8050"