-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
170 lines (158 loc) · 4.77 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
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
version: '3'
services:
apache-php5.6:
build:
context: ./images/apache-php5.6
image: openrasp-test/apache-php:5.6
hostname: apache-php5.6
# ports:
# - "80"
volumes:
- "./shared/apache-php5.6/html:/var/www/html"
- "./rasp-installers/:/rasp-installers"
- "./shared/apache-php5.6/rasp:/rasp"
- "./pyhttp/:/root/pyhttp"
- "./test-application/:/test-application"
tty: true
apache-php7.2:
build:
context: ./images/apache-php7.2
image: openrasp-test/apache-php:7.2
hostname: apache-php7.2
# ports:
# - "80"
volumes:
- "./shared/apache-php7.2/html:/var/www/html"
- "./rasp-installers/:/rasp-installers"
- "./shared/apache-php7.2/rasp:/rasp"
- "./pyhttp/:/root/pyhttp"
- "./test-application/:/test-application"
tty: true
nginx-php5.6:
build:
context: ./images/nginx
dockerfile: Dockerfile-php5.6
image: openrasp-test/nginx:php5.6
hostname: nginx-php5.6
# ports:
# - "80"
volumes:
- "./shared/php5.6-fpm/html:/usr/share/nginx/html/"
tty: true
nginx-php7.2:
build:
context: ./images/nginx
dockerfile: Dockerfile-php7.2
image: openrasp-test/nginx:php7.2
hostname: nginx-php7.2
# ports:
# - "80"
volumes:
- "./shared/php7.2-fpm/html:/usr/share/nginx/html/"
tty: true
php5.6-fpm:
build:
context: ./images/php5.6-fpm
image: openrasp-test/php:5.6-fpm
hostname: php5.6-fpm
# ports:
# - "9000"
volumes:
- "./shared/php5.6-fpm/html:/var/www/html/"
- "./rasp-installers/:/rasp-installers"
- "./shared/php5.6-fpm/rasp:/rasp"
- "./pyhttp/:/root/pyhttp"
- "./test-application/:/test-application"
tty: true
php7.2-fpm:
build:
context: ./images/php7.2-fpm
image: openrasp-test/php:7.2-fpm
hostname: php7.2-fpm
# ports:
# - "9000"
volumes:
- "./shared/php7.2-fpm/html:/var/www/html/"
- "./rasp-installers/:/rasp-installers"
- "./shared/php7.2-fpm/rasp:/rasp"
- "./pyhttp/:/root/pyhttp"
- "./test-application/:/test-application"
tty: true
mysql5.6:
build:
context: ./images/mysql5.6
image: openrasp-test/mysql:5.6
hostname: mysql5.6
# ports:
# - "3306"
# volumes:
# - "./shared/mysql5.6/data:/var/lib/mysql/data"
tty: true
tomcat8:
build:
context: ./images/tomcat8
image: openrasp-test/tomcat8
hostname: tomcat8
# ports:
# - "80"
volumes:
- "./shared/tomcat8/webapps:/usr/local/tomcat/webapps"
- "./rasp-installers/:/rasp-installers"
- "./shared/tomcat8/rasp:/usr/local/tomcat/rasp"
- "./pyhttp/:/root/pyhttp"
- "./test-application/:/test-application"
tty: true
rsyslog:
build:
context: ./images/rsyslog
image: openrasp-test/rsyslog
hostname: rsyslog
# ports:
# - "514"
# volumes:
# - "./shared/rsyslog/log:/var/log"
tty: true
rasp-cloud:
build:
context: ./images/rasp-cloud
image: openrasp-test/rasp-cloud
hostname: rasp-cloud
ports:
- "8088:8080"
depends_on:
- elasticsearch6.4.2
- mongodb3.6
volumes:
- "./rasp-installers/:/rasp-installers/"
- "./config-files/logstash/cloud.conf:/etc/logstash/conf.d/cloud.conf"
- "./config-files/rasp-cloud:/rasp-cloud-config"
tty: true
elasticsearch6.4.2:
build:
context: ./images/elasticsearch6.4.2
image: openrasp-test/elasticsearch6.4.2
hostname: elasticsearch6.4.2
ports:
- "9200:9200"
# volumes:
# - "./shared/elasticsearch6.4.2/xxx:/xxx"
tty: true
mongodb3.6:
build:
context: ./images/mongodb3.6
image: openrasp-test/mongodb3.6
hostname: mongodb3.6
# ports:
# - "27017"
# volumes:
# - "./shared/mongodb3.6/xxx:/xxx"
tty: true
tester:
build:
context: ./images/tester
image: openrasp-test/tester
hostname: tester
volumes:
- "./test-script/:/root/test-script/"
- "./shared/:/root/shared/"
tty: true