blob: d5a2cc78cf41c7c6bbe4a39669f728bbfb7892fb [file] [log] [blame]
Taka Cho6d188af2021-01-11 16:48:33 -05001#
2# ===========LICENSE_START====================================================
3# Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
Ram Krishna Verma9fe39e82021-05-13 11:03:50 -04004# Modifications Copyright (C) 2021 Bell Canada. All rights reserved.
rameshiyer27f2e4da72024-01-13 21:26:09 +00005# Modification Copyright 2021-2024 Nordix Foundation.
Taka Cho6d188af2021-01-11 16:48:33 -05006# ============================================================================
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18# ============LICENSE_END=====================================================
19#
adheli.tavares80e382e2024-05-01 14:08:35 +010020
Taka Cho6d188af2021-01-11 16:48:33 -050021services:
adheli.tavares80e382e2024-05-01 14:08:35 +010022 mariadb:
23 image: nexus3.onap.org:10001/mariadb:${POLICY_MARIADB_VER}
24 container_name: mariadb
25 hostname: mariadb
26 command: [ '--lower-case-table-names=1', '--wait_timeout=28800', '--default-authentication-plugin=mysql_native_password' ]
27 env_file: ./config/db/db.conf
28 volumes:
29 - ./config/db:/docker-entrypoint-initdb.d:ro
30 - ./config/clamp/policy-clamp-create-tables.sql:/tmp/policy-clamp-create-tables.sql
31 ports:
32 - "3306:3306"
33 policy-db-migrator:
34 image: ${CONTAINER_LOCATION}onap/policy-db-migrator:${POLICY_DOCKER_VERSION}
35 container_name: policy-db-migrator
36 hostname: policy-db-migrator
37 depends_on:
38 - mariadb
39 expose:
40 - 6824
41 env_file: ./config/db/db.conf
42 environment:
43 SQL_DB: policyadmin
44 SQL_HOST: mariadb
45 volumes:
46 - ./config/db-migrator/init.sh:/opt/app/policy/bin/db_migrator_policy_init.sh:ro
47 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
48 entrypoint: /opt/app/policy/bin/wait_for_port.sh
49 command: [
50 '-c',
51 '/opt/app/policy/bin/db_migrator_policy_init.sh',
52 'mariadb', '3306'
53 ]
54 policy-db-migrator-clamp:
55 image: ${CONTAINER_LOCATION}onap/policy-db-migrator:${POLICY_DOCKER_VERSION}
56 container_name: policy-db-migrator-clamp
57 hostname: policy-db-migrator-clamp
58 depends_on:
59 - mariadb
60 expose:
61 - 6824
62 env_file: ./config/db/db.conf
63 environment:
64 SQL_DB: clampacm
65 SQL_HOST: mariadb
66 volumes:
67 - ./config/db-migrator/init.sh:/opt/app/policy/bin/db_migrator_policy_init.sh:ro
68 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
69 entrypoint: /opt/app/policy/bin/wait_for_port.sh
70 command: [
71 '-c',
72 '/opt/app/policy/bin/db_migrator_policy_init.sh',
73 'mariadb', '3306'
74 ]
75 simulator:
76 image: ${CONTAINER_LOCATION}onap/policy-models-simulator:${POLICY_MODELS_VERSION}
77 container_name: simulator
78 hostname: simulator
79 networks:
80 default:
81 aliases:
82 - aai-sim
83 - grpc-sim
84 - sdnc-sim
85 - so-sim
86 - vfc-sim
87 volumes:
88 - ./config/sim-all:/opt/app/policy/simulators/etc/mounted:ro
89 - ./config/sim-all/logback.xml:/opt/app/policy/simulators/etc/mounted/logback.xml:ro
90 expose:
91 - 6666
92 - 6668
93 - 6669
94 - 6670
95 - 6680
96 ports:
97 - ${SIMULATOR_PORT}:6666
98 api:
99 image: ${CONTAINER_LOCATION}onap/policy-api:${POLICY_API_VERSION}
100 container_name: policy-api
101 hostname: policy-api
102 depends_on:
103 - policy-db-migrator
104 ports:
105 - ${API_PORT}:6969
106 volumes:
107 - ./config/api/apiParameters.yaml:/opt/app/policy/api/etc/apiParameters.yaml:ro
108 - ./config/api/logback.xml:/opt/app/policy/api/etc/logback.xml:ro
109 - ./wait_for_port.sh:/opt/app/policy/api/bin/wait_for_port.sh:ro
110 entrypoint: ./wait_for_port.sh
111 command: [
112 '-c', './policy-api.sh',
113 'mariadb', '3306',
114 'policy-db-migrator', '6824'
115 ]
116 pap:
117 image: ${CONTAINER_LOCATION}onap/policy-pap:${POLICY_PAP_VERSION}
118 container_name: policy-pap
119 hostname: policy-pap
120 depends_on:
121 - mariadb
122 - kafka
123 - api
124 ports:
125 - ${PAP_PORT}:6969
126 volumes:
127 - ./config/pap/papParameters.yaml:/opt/app/policy/pap/etc/papParameters.yaml:ro
128 - ./config/${PROJECT}/groups.json:/opt/app/policy/pap/etc/mounted/groups.json:ro
129 - ./config/pap/logback.xml:/opt/app/policy/pap/etc/logback.xml:ro
130 - ./wait_for_port.sh:/opt/app/policy/pap/bin/wait_for_port.sh:ro
131 entrypoint: ./wait_for_port.sh
132 command: [
133 '-c', './policy-pap.sh',
134 'mariadb', '3306',
135 'kafka', '9092',
136 'api', '6969'
137 ]
138 xacml-pdp:
139 image: ${CONTAINER_LOCATION}onap/policy-xacml-pdp:${POLICY_XACML_PDP_VERSION}
140 container_name: policy-xacml-pdp
141 hostname: policy-xacml-pdp
142 depends_on:
143 - mariadb
144 - kafka
145 - pap
146 ports:
147 - ${XACML_PORT}:6969
148 - "30999:3904"
149 volumes:
150 - ./config/xacml-pdp/defaultConfig.json:/opt/app/policy/pdpx/etc/defaultConfig.json:ro
151 - ./config/xacml-pdp/logback.xml:/opt/app/policy/pdpx/etc/logback.xml:ro
152 - ./wait_for_port.sh:/opt/app/policy/pdpx/bin/wait_for_port.sh:ro
153 entrypoint: ./wait_for_port.sh
154 command: [
155 '-c', './policy-pdpx.sh',
156 'mariadb', '3306',
157 'kafka', '9092',
158 'pap', '6969'
159 ]
160 drools-pdp:
161 image: ${CONTAINER_LOCATION}onap/policy-drools:${POLICY_DROOLS_PDP_VERSION}
162 container_name: policy-drools-pdp
163 hostname: policy-drools-pdp
164 depends_on:
165 - mariadb
166 - kafka
167 - pap
168 ports:
169 - ${DROOLS_PORT}:6969
170 - ${DROOLS_TELEMETRY_PORT}:9696
171 volumes:
172 - ./config/drools-pdp/custom:/tmp/policy-install/config:ro
173 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
174 env_file:
175 - ./config/drools-pdp/env/base.conf
176 entrypoint: /opt/app/policy/bin/wait_for_port.sh
177 command: [
178 '-c', '/opt/app/policy/bin/pdpd-entrypoint.sh boot',
179 'mariadb', '3306',
180 'kafka', '9092'
181 ]
182 drools-applications:
183 image: ${CONTAINER_LOCATION}onap/policy-pdpd-cl:${POLICY_DROOLS_APPS_VERSION}
184 container_name: policy-drools-apps
185 hostname: policy-drools-apps
186 depends_on:
187 - mariadb
188 - simulator
189 - kafka
190 - pap
191 - xacml-pdp
192 ports:
193 - ${DROOLS_APPS_PORT}:6969
194 - ${DROOLS_APPS_TELEMETRY_PORT}:9696
195 volumes:
196 - ./config/drools-applications/custom:/tmp/policy-install/config:ro
197 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
198 env_file:
199 - ./config/drools-applications/env/base.conf
200 - ./config/drools-applications/env/feature-healthcheck.conf
201 - ./config/drools-applications/env/feature-pooling-messages.conf
202 entrypoint: /opt/app/policy/bin/wait_for_port.sh
203 command: [
204 '-c', '/opt/app/policy/bin/pdpd-cl-entrypoint.sh boot',
205 'mariadb', '3306',
206 'kafka', '9092',
207 'pap', '6969',
208 'aai-sim', '6666',
209 'sdnc-sim', '6668',
210 'so-sim', '6669',
211 'vfc-sim', '6670'
212 ]
213 apex-pdp:
214 image: ${CONTAINER_LOCATION}onap/policy-apex-pdp:${POLICY_APEX_PDP_VERSION}
215 container_name: policy-apex-pdp
216 hostname: policy-apex-pdp
217 depends_on:
218 - mariadb
219 - simulator
220 - kafka
221 - pap
222 ports:
223 - ${APEX_PORT}:6969
224 - ${APEX_EVENTS_PORT}:23324
225 volumes:
226 - ./config/apex-pdp/OnapPfConfig.json:/opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json:ro
227 - ./config/apex-pdp/logback.xml:/opt/app/policy/apex-pdp/etc/logback.xml:ro
228 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
229 entrypoint: /opt/app/policy/bin/wait_for_port.sh
230 command: [
231 '-c', '/opt/app/policy/apex-pdp/bin/apexOnapPf.sh -c /opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json',
232 'mariadb', '3306',
233 'kafka', '9092',
234 'pap', '6969'
235 ]
236 distribution:
237 image: ${CONTAINER_LOCATION}onap/policy-distribution:${POLICY_DISTRIBUTION_VERSION}
238 container_name: policy-distribution
239 hostname: policy-distribution
240 depends_on:
241 - mariadb
242 - api
243 - pap
244 - apex-pdp
245 ports:
246 - ${DIST_PORT}:6969
247 volumes:
248 - ./config/distribution/defaultConfig.json:/opt/app/policy/distribution/etc/defaultConfig.json:ro
249 - /tmp/distribution/:/opt/app/policy/distribution/etc/temp/:ro
250 - ./config/distribution/logback.xml:/opt/app/policy/distribution/etc/logback.xml:ro
251 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
252 entrypoint: /opt/app/policy/bin/wait_for_port.sh
253 command: [
254 '-c', './policy-dist.sh',
255 'mariadb', '3306',
256 'kafka', '9092',
257 'pap', '6969',
258 'apex-pdp', '6969'
259 ]
260 policy-clamp-runtime-acm:
261 image: ${CONTAINER_LOCATION}onap/policy-clamp-runtime-acm:${POLICY_CLAMP_VERSION}
262 container_name: policy-clamp-runtime-acm
263 hostname: policy-clamp-runtime-acm
264 depends_on:
265 - policy-db-migrator-clamp
266 - kafka
saul.gillbbf5f962024-06-25 17:42:22 +0100267 - jaeger
adheli.tavares80e382e2024-05-01 14:08:35 +0100268 - policy-clamp-ac-http-ppnt
269 - policy-clamp-ac-k8s-ppnt
270 - policy-clamp-ac-pf-ppnt
271 - policy-clamp-ac-sim-ppnt
272 - apex-pdp
273 ports:
274 - ${ACM_PORT}:6969
saul.gillbbf5f962024-06-25 17:42:22 +0100275 environment:
276 OTEL_SERVICE_NAME: acm-r
277 OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
278 OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf
279 OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318
280 # Tracing can be configured for grpc or http - default is http
281 #OTEL_EXPORTER_OTLP_PROTOCOL: grpc
282 #OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: grpc
283 #OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4317
adheli.tavares80e382e2024-05-01 14:08:35 +0100284 volumes:
285 - ./config/clamp/AcRuntimeParameters.yaml:/opt/app/policy/clamp/etc/AcRuntimeParameters.yaml
286 - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro
saul.gillbbf5f962024-06-25 17:42:22 +0100287 - ./config/clamp/acm-runtime.sh:/opt/app/policy/clamp/bin/acm-runtime.sh:rw
adheli.tavares80e382e2024-05-01 14:08:35 +0100288 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
289 entrypoint: /opt/app/policy/bin/wait_for_port.sh
290 command: [
291 '-c', './acm-runtime.sh',
292 'mariadb', '3306',
293 'kafka', '9092',
294 'policy-clamp-ac-http-ppnt', '6969',
295 'policy-clamp-ac-k8s-ppnt', '6969',
296 'policy-clamp-ac-pf-ppnt', '6969',
297 'apex-pdp', '6969'
298 ]
rameshiyer27e9098662023-04-03 00:57:58 +0100299
adheli.tavares80e382e2024-05-01 14:08:35 +0100300 policy-clamp-ac-http-ppnt:
301 image: ${CONTAINER_LOCATION}onap/policy-clamp-ac-http-ppnt:${POLICY_CLAMP_PPNT_VERSION}
302 container_name: policy-clamp-ac-http-ppnt
303 hostname: policy-clamp-ac-http-ppnt
304 depends_on:
305 - kafka
saul.gillbbf5f962024-06-25 17:42:22 +0100306 - jaeger
adheli.tavares80e382e2024-05-01 14:08:35 +0100307 ports:
308 - "30290:6969"
saul.gillbbf5f962024-06-25 17:42:22 +0100309 environment:
310 OTEL_SERVICE_NAME: http-ppnt
311 OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
312 OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf
313 OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318
adheli.tavares80e382e2024-05-01 14:08:35 +0100314 volumes:
315 - ./config/clamp/HttpParticipantParameters.yaml:/opt/app/policy/clamp/etc/HttpParticipantParameters.yaml
saul.gillbbf5f962024-06-25 17:42:22 +0100316 - ./config/clamp/http-participant.sh:/opt/app/policy/clamp/bin/http-participant.sh:rw
adheli.tavares80e382e2024-05-01 14:08:35 +0100317 - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro
318 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
319 entrypoint: /opt/app/policy/bin/wait_for_port.sh
320 command: [
321 '-c', './http-participant.sh',
322 'kafka', '9092'
323 ]
324 policy-clamp-ac-k8s-ppnt:
325 image: ${CONTAINER_LOCATION}onap/policy-clamp-ac-k8s-ppnt:${POLICY_CLAMP_PPNT_VERSION}
326 container_name: policy-clamp-ac-k8s-ppnt
327 hostname: policy-clamp-ac-k8s-ppnt
328 depends_on:
329 - kafka
saul.gillbbf5f962024-06-25 17:42:22 +0100330 - jaeger
331 environment:
332 OTEL_SERVICE_NAME: k8s-ppnt
333 OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
334 OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf
335 OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318
adheli.tavares80e382e2024-05-01 14:08:35 +0100336 ports:
337 - "30295:6969"
338 volumes:
339 - ./config/clamp/KubernetesParticipantParameters.yaml:/opt/app/policy/clamp/etc/KubernetesParticipantParameters.yaml
saul.gillbbf5f962024-06-25 17:42:22 +0100340 - ./config/clamp/kubernetes-participant.sh:/opt/app/policy/clamp/bin/kubernetes-participant.sh:rw
adheli.tavares80e382e2024-05-01 14:08:35 +0100341 - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro
342 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
343 entrypoint: /opt/app/policy/bin/wait_for_port.sh
344 command: [
345 '-c', './kubernetes-participant.sh',
346 'kafka', '9092'
347 ]
348 policy-clamp-ac-pf-ppnt:
349 image: ${CONTAINER_LOCATION}onap/policy-clamp-ac-pf-ppnt:${POLICY_CLAMP_PPNT_VERSION}
350 container_name: policy-clamp-ac-pf-ppnt
351 hostname: policy-clamp-ac-pf-ppnt
352 depends_on:
353 - kafka
354 - api
saul.gillbbf5f962024-06-25 17:42:22 +0100355 - jaeger
adheli.tavares80e382e2024-05-01 14:08:35 +0100356 ports:
357 - ${POLICY_PARTICIPANT_PORT}:6969
saul.gillbbf5f962024-06-25 17:42:22 +0100358 environment:
359 OTEL_SERVICE_NAME: policy-ppnt
360 OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
361 OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf
362 OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318
adheli.tavares80e382e2024-05-01 14:08:35 +0100363 volumes:
364 - ./config/clamp/PolicyParticipantParameters.yaml:/opt/app/policy/clamp/etc/PolicyParticipantParameters.yaml:ro
saul.gillbbf5f962024-06-25 17:42:22 +0100365 - ./config/clamp/policy-participant.sh:/opt/app/policy/clamp/bin/policy-participant.sh:rw
adheli.tavares80e382e2024-05-01 14:08:35 +0100366 - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro
367 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
368 entrypoint: /opt/app/policy/bin/wait_for_port.sh
369 command: [
370 '-c', './policy-participant.sh',
371 'kafka', '9092',
372 'api', '6969'
373 ]
374 policy-clamp-ac-a1pms-ppnt:
375 image: ${CONTAINER_LOCATION}onap/policy-clamp-ac-a1pms-ppnt:${POLICY_CLAMP_PPNT_VERSION}
376 container_name: policy-clamp-ac-a1pms-ppnt
377 hostname: policy-clamp-ac-a1pms-ppnt
378 depends_on:
379 - kafka
saul.gillbbf5f962024-06-25 17:42:22 +0100380 - jaeger
381 environment:
382 OTEL_SERVICE_NAME: a1pms-ppnt
383 OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
384 OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf
385 OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318
adheli.tavares80e382e2024-05-01 14:08:35 +0100386 ports:
387 - "30296:6969"
388 volumes:
389 - ./config/clamp/A1pmsParticipantParameters.yaml:/opt/app/policy/clamp/etc/A1pmsParticipantParameters.yaml:ro
saul.gillbbf5f962024-06-25 17:42:22 +0100390 - ./config/clamp/a1pms-participant.sh:/opt/app/policy/clamp/bin/a1pms-participant.sh:rw
adheli.tavares80e382e2024-05-01 14:08:35 +0100391 - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro
392 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
393 entrypoint: /opt/app/policy/bin/wait_for_port.sh
394 command: [
395 '-c', './a1pms-participant.sh',
396 'kafka', '9092'
397 ]
398 policy-clamp-ac-kserve-ppnt:
399 image: ${CONTAINER_LOCATION}onap/policy-clamp-ac-kserve-ppnt:${POLICY_CLAMP_PPNT_VERSION}
400 container_name: policy-clamp-ac-kserve-ppnt
401 hostname: policy-clamp-ac-kserve-ppnt
402 depends_on:
403 - kafka
saul.gillbbf5f962024-06-25 17:42:22 +0100404 - jaeger
405 environment:
406 OTEL_SERVICE_NAME: kserve-ppnt
407 OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
408 OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf
409 OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318
adheli.tavares80e382e2024-05-01 14:08:35 +0100410 ports:
411 - "30297:6969"
412 volumes:
413 - ./config/clamp/KserveParticipantParameters.yaml:/opt/app/policy/clamp/etc/KserveParticipantParameters.yaml:ro
saul.gillbbf5f962024-06-25 17:42:22 +0100414 - ./config/clamp/kserve-participant.sh:/opt/app/policy/clamp/bin/kserve-participant.sh:rw
adheli.tavares80e382e2024-05-01 14:08:35 +0100415 - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro
416 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
417 entrypoint: /opt/app/policy/bin/wait_for_port.sh
418 command: [
419 '-c', './kserve-participant.sh',
420 'kafka', '9092'
421 ]
422 policy-clamp-ac-sim-ppnt:
423 image: ${CONTAINER_LOCATION}onap/policy-clamp-ac-sim-ppnt:${POLICY_CLAMP_VERSION}
424 container_name: policy-clamp-ac-sim-ppnt
425 hostname: policy-clamp-ac-sim-ppnt
426 depends_on:
427 - kafka
saul.gillbbf5f962024-06-25 17:42:22 +0100428 - jaeger
429 environment:
430 OTEL_SERVICE_NAME: sim-ppnt
431 OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
432 OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf
433 OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318
adheli.tavares80e382e2024-05-01 14:08:35 +0100434 ports:
435 - ${SIM_PARTICIPANT_PORT}:6969
436 volumes:
437 - ./config/clamp/SimulatorParticipantParameters.yaml:/opt/app/policy/clamp/etc/SimulatorParticipantParameters.yaml:ro
saul.gillbbf5f962024-06-25 17:42:22 +0100438 - ./config/clamp/sim-participant.sh:/opt/app/policy/clamp/bin/sim-participant.sh:rw
adheli.tavares80e382e2024-05-01 14:08:35 +0100439 - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro
440 - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro
441 entrypoint: /opt/app/policy/bin/wait_for_port.sh
442 command: [
443 '-c', './sim-participant.sh',
444 'kafka', '9092'
445 ]
446 prometheus:
447 image: nexus3.onap.org:10001/prom/prometheus:latest
448 container_name: prometheus
449 hostname: prometheus
450 ports:
451 - ${PROMETHEUS_PORT}:9090
452 volumes:
453 - ./metrics/prometheus.yml:/etc/prometheus/prometheus.yml
454 grafana:
455 image: nexus3.onap.org:10001/grafana/grafana:latest
456 container_name: grafana
457 hostname: grafana
458 depends_on:
459 - prometheus
460 ports:
461 - ${GRAFANA_PORT}:3000
462 volumes:
463 - ./metrics/dashboard.yaml:/etc/grafana/provisioning/dashboards/dashboard.yaml
464 - ./metrics/datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yaml
465 - ./metrics/dashboards:/var/lib/grafana/dashboards
466 zookeeper:
467 image: confluentinc/cp-zookeeper:latest
468 container_name: zookeeper
469 hostname: zookeeper
470 ports:
471 - "2181:2181"
472 environment:
473 ZOOKEEPER_CLIENT_PORT: 2181
474 kafka:
475 image: confluentinc/cp-kafka:latest
476 container_name: kafka
477 hostname: kafka
478 depends_on:
479 - zookeeper
480 ports:
481 - 9092:9092
482 - 29092:29092
483 environment:
484 KAFKA_BROKER_ID: 1
485 KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
486 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
487 KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092
488 KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
489 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
490 KAFKA_ADVERTISED_HOST_NAME: kafka
491 csit-tests:
492 image: policy-csit-robot:latest
493 container_name: policy-csit
494 hostname: policy-csit
495 volumes:
496 - ${ROBOT_LOG_DIR}:/tmp/results
497 - /tmp/distribution:/tmp/distribution
498 environment:
499 ROBOT_FILE: ${ROBOT_FILES}
rameshiyer274f25dde2024-06-13 13:52:16 +0000500 TEST_ENV: ${TEST_ENV}
saul.gillbbf5f962024-06-25 17:42:22 +0100501
502 jaeger:
503 image: jaegertracing/all-in-one:latest
504 container_name: jaeger
505 ports:
506 - 4318:4318
507 - 4317:4317
508 - 14250:14250
509 - 16686:16686
510 environment:
511 - COLLECTOR_OTLP_ENABLED=true