-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdocker-compose.yml
66 lines (61 loc) · 1.33 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
version: '3.3'
services:
seeddata:
image: securingthestack/seeddata:syntaxcon
build: ./seeddata
depends_on:
- es-prod-env
networks:
vulnerable-net:
juiceshop:
build: ./juiceshop
image: securingthestack/juiceshop:syntaxcon
ports:
- 80:3000
beef:
build: ./beef
image: securingthestack/beef:syntaxcon
ports:
- 3000:3000
- 6789:6789
- 61985:61985
- 61986:61986
tty: true
es-dev-env:
image: docker.elastic.co/elasticsearch/elasticsearch:5.6.9
environment:
- "http.cors.allow-origin=*"
- http.cors.enabled=true
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- xpack.security.enabled=false
- network.host=_site_
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
networks:
vulnerable-net:
es-prod-env:
image: docker.elastic.co/elasticsearch/elasticsearch:5.6.9
environment:
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- xpack.security.enabled=false
- http.port=9201
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9201:9201
- 9300:9300
networks:
vulnerable-net:
aliases:
- "prod.example.com"
networks:
vulnerable-net:
driver: bridge