-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathrpi-docker-compose.yml
152 lines (149 loc) · 2.95 KB
/
rpi-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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
version: '3'
services:
proxy:
image: exploitable/proxy:arm32v7
ports:
- "80:80"
- "9000:9000"
depends_on:
- app1
- app2
- app3
- exploitableapp-ws
- netmon
networks:
main:
aliases:
- proxy
app1:
container_name: app1
image: exploitable/exploitableapp:arm32v7
depends_on:
- db
- exploitableapp-ws
- redis
- netmon
ports:
- "8080"
volumes:
- sharedfiles:/app/sharedfiles/
environment:
ASPNETCORE_ENVIRONMENT: "Development"
ASPNETCORE_URLS: "http://+:8080"
USEMYSQL: "true"
DISABLE_AUTOMATIC_KEY_GENERATION: "true"
networks:
main:
aliases:
- app1
app2:
container_name: app2
image: exploitable/exploitableapp:arm32v7
depends_on:
- db
- exploitableapp-ws
- redis
- netmon
ports:
- "8080"
volumes:
- sharedfiles:/app/sharedfiles/
environment:
ASPNETCORE_ENVIRONMENT: "Development"
ASPNETCORE_URLS: "http://+:8080"
USEMYSQL: "true"
DISABLE_AUTOMATIC_KEY_GENERATION: "true"
networks:
main:
aliases:
- app2
app3:
container_name: app3
image: exploitable/exploitableapp:arm32v7
depends_on:
- db
- exploitableapp-ws
- redis
- netmon
ports:
- "8080"
volumes:
- sharedfiles:/app/sharedfiles/
environment:
ASPNETCORE_ENVIRONMENT: "Development"
ASPNETCORE_URLS: "http://+:8080"
USEMYSQL: "true"
DISABLE_AUTOMATIC_KEY_GENERATION: "true"
networks:
main:
aliases:
- app3
exploitableapp-ws:
image: exploitable/exploitableapp.webservice:arm32v7
depends_on:
- db
- netmon
ports:
- "8080"
volumes:
- sharedfiles:/app/sharedfiles/
environment:
ASPNETCORE_ENVIRONMENT: "Development"
ASPNETCORE_URLS: "http://+:8080"
USEMYSQL: "true"
networks:
main:
aliases:
- exploitable-ws
redis:
image: "redis:4.0.11"
command: redis-server --requirepass Password1
depends_on:
- netmon
ports:
- "6379"
networks:
main:
aliases:
- redis
db:
image: hypriot/rpi-mysql
restart: always
depends_on:
- netmon
volumes:
- sharedfiles:/sharedfiles/
environment:
MYSQL_ROOT_PASSWORD: "Password1"
MYSQL_DATABASE: "ExploitableDB"
MYSQL_USER: "sa"
MYSQL_PASSWORD: "Password1"
networks:
main:
aliases:
- db
adminer:
image: adminer
restart: always
depends_on:
- db
ports:
- "8080:8080"
networks:
main:
aliases:
- adminer
netmon:
image: exploitable/netmon:arm32v7
volumes:
- sharedfiles:/sharedfiles/
ports:
- "1337:22"
networks:
main:
aliases:
- netmon
volumes:
sharedfiles: {}
networks:
main: {}