forked from RedHatInsights/vulnerability-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
199 lines (186 loc) · 4.83 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
version: '3'
services:
ve_database:
container_name: vulnerability-engine-database
build:
context: ./
dockerfile: ./database/Dockerfile.centos
image: vulnerability-engine/database:latest
restart: unless-stopped
shm_size: '256mb'
env_file:
- ./conf/common.env
- ./conf/database.env
ports:
- 15432:5432
volumes:
- vulnerability-engine-db-data:/var/lib/pgsql/data
ve_evaluator_recalc:
container_name: vulnerability-engine-evaluator-recalc
build:
context: ./
dockerfile: ./evaluator/Dockerfile
args:
PIPENV_CHECK: "${PIPENV_CHECK:-1}"
image: vulnerability-engine/evaluator:latest
restart: unless-stopped
env_file:
- ./conf/common.env
- ./conf/evaluator.env
- ./conf/evaluator_recalc.env
ports:
- 8084:8085
depends_on:
- ve_database
- platform_mock
ve_evaluator_upload:
container_name: vulnerability-engine-evaluator-upload
build:
context: ./
dockerfile: ./evaluator/Dockerfile
args:
PIPENV_CHECK: "${PIPENV_CHECK:-1}"
image: vulnerability-engine/evaluator:latest
restart: unless-stopped
env_file:
- ./conf/common.env
- ./conf/evaluator.env
- ./conf/evaluator_upload.env
ports:
- 8085:8085
depends_on:
- ve_database
- platform_mock
ve_listener:
container_name: vulnerability-engine-listener
build:
context: ./
dockerfile: ./listener/Dockerfile
args:
PIPENV_CHECK: "${PIPENV_CHECK:-1}"
image: vulnerability-engine/listener:latest
restart: unless-stopped
env_file:
- ./conf/common.env
- ./conf/listener.env
ports:
- 8086:8086
depends_on:
- ve_database
- platform_mock
ve_manager:
container_name: vulnerability-engine-manager
build:
context: ./
dockerfile: ./manager/Dockerfile
args:
PIPENV_CHECK: "${PIPENV_CHECK:-1}"
image: vulnerability-engine/manager:latest
restart: unless-stopped
env_file:
- ./conf/common.env
- ./conf/manager.env
ports:
- 8300:8443
depends_on:
- ve_database
- platform_mock
platform_mock:
container_name: platform-mock
build:
context: ./
dockerfile: ./platform_mock/Dockerfile
args:
PIPENV_CHECK: "${PIPENV_CHECK:-1}"
image: vulnerability-engine/platform-mock:latest
restart: unless-stopped
ports:
- 9092:9092
- 8100:8000
tmpfs: /tmp
ve_vmaas_sync:
container_name: vulnerability-engine-vmaas-sync
build:
context: ./
dockerfile: ./vmaas_sync/Dockerfile
args:
PIPENV_CHECK: "${PIPENV_CHECK:-1}"
image: vulnerability-engine/vmaas-sync:latest
restart: unless-stopped
env_file:
- ./conf/common.env
- ./conf/vmaas-sync.env
ports:
- 8200:8000
- 8087:8087
depends_on:
- ve_database
- platform_mock
ve_prometheus:
container_name: ve-prometheus
image: prom/prometheus:v2.1.0
volumes:
- ve-prometheus-data:/prometheus
- ./monitoring/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
security_opt:
- label=disable
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
ports:
- 9091:9090
depends_on:
- ve_evaluator_recalc
- ve_evaluator_upload
- ve_listener
- ve_manager
restart: always
ve_grafana:
container_name: ve-grafana
image: grafana/grafana:6.2.5
volumes:
- ve-grafana-data:/var/lib/grafana
- ./monitoring/grafana/provisioning/:/etc/grafana/provisioning/
depends_on:
- ve_prometheus
ports:
- 3001:3000
env_file:
- ./monitoring/grafana/grafana.conf
user: "104"
restart: always
ve_taskomatic:
container_name: vulnerability-engine-taskomatic
build:
context: ./
dockerfile: ./taskomatic/Dockerfile
args:
PIPENV_CHECK: "${PIPENV_CHECK:-1}"
image: vulnerability-engine/taskomatic:latest
restart: unless-stopped
env_file:
- ./conf/common.env
- ./conf/taskomatic.env
depends_on:
- ve_database
ve_advisor_listener:
container_name: vulnerability-engine-advisor-listener
build:
context: ./
dockerfile: ./advisor_listener/Dockerfile
args:
PIPENV_CHECK: "${PIPENV_CHECK:-1}"
image: vulnerability-engine/advisor-listener:latest
restart: unless-stopped
env_file:
- ./conf/common.env
- ./conf/advisor_listener.env
depends_on:
- ve_database
- platform_mock
volumes:
vulnerability-engine-db-data:
ve-prometheus-data:
ve-grafana-data: