-
-
Notifications
You must be signed in to change notification settings - Fork 123
/
compose.yml
178 lines (159 loc) · 4.08 KB
/
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
171
172
173
174
175
176
177
178
# Use this docker-compose file to setup the test environment before running the tests.
services:
couchbase:
image: couchbase/server:7.2.0
ports:
- "8091:8091"
- "8092:8092"
- "8093:8093"
- "8094:8094"
- "11210:11210"
volumes:
- couchbase_data:/opt/couchbase/var
nsqlookupd:
image: nsqio/nsq:v1.2.1
command: /nsqlookupd --log-level=error
ports:
- 4160:4160
- 4161:4161
nsqd:
image: nsqio/nsq:v1.2.1
command: >
/nsqd --lookupd-tcp-address=nsqlookupd:4160 --broadcast-address=${EXTERNAL_IP} --max-msg-size=1413820683 --log-level=error
environment:
- "EXTERNAL_IP=${EXTERNAL_IP}"
depends_on:
- nsqlookupd
ports:
- 4150:4150
- 4151:4151
nsqadmin:
image: nsqio/nsq:v1.2.1
command: >
/nsqadmin --lookupd-http-address=nsqlookupd:4161 --log-level=error
depends_on:
- nsqlookupd
ports:
- 4171:4171
minio:
image: minio/minio:latest
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio_data:/data
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
command: server /data --console-address ":9001"
webapis:
image: saferwall/webapis:latest
ports:
- "8080:8080"
environment:
- SFW_WEBAPIS_DEPLOYMENT_KIND=dev
entrypoint:
[
/saferwall/server,
-config,
/saferwall/conf/,
-db,
/saferwall/db,
-tpl,
/saferwall/templates
]
restart: always
ui:
image: saferwall/ui:latest
ports:
- "3000:3000"
environment:
PUBLIC_API_URL: http://localhost:8080/v1/
PUBLIC_AVATAR_API_URL: https://avatar.saferwall.com/{username}
depends_on:
- webapis
ml:
image: saferwall/ml-pipeline:latest
ports:
- "8001:8001"
orchestrator:
image: saferwall/orchestrator:latest
environment:
- SAFERWALL_DEPLOYMENT_KIND=dev
entrypoint: [ /saferwall/orchestrator-svc, -config, /saferwall/conf/ ]
volumes:
- /samples:/samples
- /saferwall:/saferwall/storage
aggregator:
image: saferwall/aggregator:latest
depends_on:
- couchbase
environment:
- SAFERWALL_DEPLOYMENT_KIND=dev
entrypoint: [ /saferwall/aggregator-svc, -config, /saferwall/conf/ ]
restart: always
postprocessor:
image: saferwall/postprocessor:latest
environment:
- SAFERWALL_DEPLOYMENT_KIND=dev
entrypoint:
[
/saferwall/postprocessor-svc,
-config,
/saferwall/conf/
]
volumes:
- /samples:/samples
restart: always
pe:
image: saferwall/pe:latest
environment:
- SAFERWALL_DEPLOYMENT_KIND=dev
entrypoint: [ /saferwall/pe-svc, -config, /saferwall/conf/ ]
volumes:
- /samples:/samples
meta:
image: saferwall/gometa:latest
environment:
- SAFERWALL_DEPLOYMENT_KIND=dev
entrypoint: [ /saferwall/meta-svc, -config, /saferwall/conf/ ]
volumes:
- /samples:/samples
avira:
image: saferwall/goavira:latest
environment:
- SAFERWALL_DEPLOYMENT_KIND=dev
entrypoint: [ /saferwall/avira-svc, -config, /saferwall/conf/ ]
volumes:
- /samples:/samples
clamav:
image: saferwall/goclamav:latest
environment:
- SAFERWALL_DEPLOYMENT_KIND=dev
entrypoint: [ /saferwall/clamav-svc, -config, /saferwall/conf/ ]
volumes:
- /samples:/samples
comodo:
image: saferwall/gocomodo:latest
environment:
- SAFERWALL_DEPLOYMENT_KIND=dev
entrypoint: [ /saferwall/comodo-svc, -config, /saferwall/conf/ ]
volumes:
- /samples:/samples
windefender:
image: saferwall/gowindefender:latest
environment:
- SAFERWALL_DEPLOYMENT_KIND=dev
entrypoint: [ /saferwall/windefender-svc, -config, /saferwall/conf/ ]
volumes:
- /samples:/samples
sandbox:
image: saferwall/sandbox:latest
environment:
- SAFERWALL_DEPLOYMENT_KIND=dev
entrypoint: [ /saferwall/sandbox-svc, -config, /saferwall/conf/ ]
volumes:
- /samples:/samples
volumes:
minio_data: null
couchbase_data: null