-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
92 lines (92 loc) · 1.62 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: '3.8'
services:
attacker:
build: ./attacker
container_name: attacker
restart: on-failure
networks:
- iridium_net
depends_on:
- iridium_db
- prey1
- prey2
- prey3
- prey4
- prey5
- prey6
ports:
- 7000:8080
prey1:
build:
context: ./prey
args:
- ROOTPASSWORD=1234
restart: on-failure
networks:
- iridium_net
prey2:
build:
context: ./prey
args:
- ROOTPASSWORD=1234
restart: on-failure
networks:
- iridium_net
prey3:
build:
context: ./prey
args:
- ROOTPASSWORD=admin
restart: on-failure
networks:
- iridium_net
prey4:
build:
context: ./prey
args:
- ROOTPASSWORD=toor
restart: on-failure
networks:
- iridium_net
prey5:
build:
context: ./prey
args:
- ROOTPASSWORD=dnvslkfnv
restart: on-failure
networks:
- iridium_net
prey6:
build:
context: ./prey
args:
- ROOTPASSWORD=root
restart: on-failure
networks:
- iridium_net
iridium_db:
image: postgres:16.0-alpine
container_name: iridium_db
restart: on-failure
volumes:
- iridium_db:/var/lib/postgresql/data
networks:
- iridium_net
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=1234
- POSTGRES_DB=iridium
client:
build: ./website
container_name: client
restart: on-failure
ports:
- 3000:3000
networks:
- iridium_net
depends_on:
- attacker
volumes:
iridium_db:
networks:
iridium_net: