Taka Cho | 6d188af | 2021-01-11 16:48:33 -0500 | [diff] [blame] | 1 | # |
| 2 | # ===========LICENSE_START==================================================== |
| 3 | # Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved. |
Ram Krishna Verma | 9fe39e8 | 2021-05-13 11:03:50 -0400 | [diff] [blame] | 4 | # Modifications Copyright (C) 2021 Bell Canada. All rights reserved. |
rameshiyer27 | f2e4da7 | 2024-01-13 21:26:09 +0000 | [diff] [blame] | 5 | # Modification Copyright 2021-2024 Nordix Foundation. |
Taka Cho | 6d188af | 2021-01-11 16:48:33 -0500 | [diff] [blame] | 6 | # ============================================================================ |
| 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.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 20 | |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 21 | include: |
| 22 | - compose.common.yml |
| 23 | - compose.${database:-postgres}.yml |
| 24 | |
Taka Cho | 6d188af | 2021-01-11 16:48:33 -0500 | [diff] [blame] | 25 | services: |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 26 | |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 27 | api: |
| 28 | image: ${CONTAINER_LOCATION}onap/policy-api:${POLICY_API_VERSION} |
| 29 | container_name: policy-api |
| 30 | hostname: policy-api |
| 31 | depends_on: |
| 32 | - policy-db-migrator |
| 33 | ports: |
| 34 | - ${API_PORT}:6969 |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 35 | environment: |
| 36 | SPRING_PROFILES_ACTIVE: ${API_PROFILE:-default} |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 37 | volumes: |
| 38 | - ./config/api/apiParameters.yaml:/opt/app/policy/api/etc/apiParameters.yaml:ro |
| 39 | - ./config/api/logback.xml:/opt/app/policy/api/etc/logback.xml:ro |
| 40 | - ./wait_for_port.sh:/opt/app/policy/api/bin/wait_for_port.sh:ro |
| 41 | entrypoint: ./wait_for_port.sh |
| 42 | command: [ |
| 43 | '-c', './policy-api.sh', |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 44 | 'policy-db-migrator', '6824' |
| 45 | ] |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 46 | |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 47 | pap: |
| 48 | image: ${CONTAINER_LOCATION}onap/policy-pap:${POLICY_PAP_VERSION} |
| 49 | container_name: policy-pap |
| 50 | hostname: policy-pap |
| 51 | depends_on: |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 52 | - api |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 53 | - kafka |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 54 | ports: |
| 55 | - ${PAP_PORT}:6969 |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 56 | environment: |
| 57 | SPRING_PROFILES_ACTIVE: ${PAP_PROFILE:-default} |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 58 | volumes: |
| 59 | - ./config/pap/papParameters.yaml:/opt/app/policy/pap/etc/papParameters.yaml:ro |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 60 | - ./config/${PROJECT:-api}/groups.json:/opt/app/policy/pap/etc/mounted/groups.json:ro |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 61 | - ./config/pap/logback.xml:/opt/app/policy/pap/etc/logback.xml:ro |
| 62 | - ./wait_for_port.sh:/opt/app/policy/pap/bin/wait_for_port.sh:ro |
| 63 | entrypoint: ./wait_for_port.sh |
| 64 | command: [ |
| 65 | '-c', './policy-pap.sh', |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 66 | 'api', '6969', |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 67 | 'kafka', '9092' |
| 68 | ] |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 69 | |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 70 | apex-pdp: |
| 71 | image: ${CONTAINER_LOCATION}onap/policy-apex-pdp:${POLICY_APEX_PDP_VERSION} |
| 72 | container_name: policy-apex-pdp |
| 73 | hostname: policy-apex-pdp |
| 74 | depends_on: |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 75 | - simulator |
| 76 | - kafka |
| 77 | - pap |
| 78 | ports: |
| 79 | - ${APEX_PORT}:6969 |
| 80 | - ${APEX_EVENTS_PORT}:23324 |
| 81 | volumes: |
| 82 | - ./config/apex-pdp/OnapPfConfig.json:/opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json:ro |
| 83 | - ./config/apex-pdp/logback.xml:/opt/app/policy/apex-pdp/etc/logback.xml:ro |
| 84 | - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro |
| 85 | entrypoint: /opt/app/policy/bin/wait_for_port.sh |
| 86 | command: [ |
| 87 | '-c', '/opt/app/policy/apex-pdp/bin/apexOnapPf.sh -c /opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json', |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 88 | 'kafka', '9092', |
| 89 | 'pap', '6969' |
| 90 | ] |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 91 | |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 92 | distribution: |
| 93 | image: ${CONTAINER_LOCATION}onap/policy-distribution:${POLICY_DISTRIBUTION_VERSION} |
| 94 | container_name: policy-distribution |
| 95 | hostname: policy-distribution |
| 96 | depends_on: |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 97 | - apex-pdp |
| 98 | ports: |
| 99 | - ${DIST_PORT}:6969 |
| 100 | volumes: |
| 101 | - ./config/distribution/defaultConfig.json:/opt/app/policy/distribution/etc/defaultConfig.json:ro |
| 102 | - /tmp/distribution/:/opt/app/policy/distribution/etc/temp/:ro |
| 103 | - ./config/distribution/logback.xml:/opt/app/policy/distribution/etc/logback.xml:ro |
| 104 | - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro |
| 105 | entrypoint: /opt/app/policy/bin/wait_for_port.sh |
| 106 | command: [ |
| 107 | '-c', './policy-dist.sh', |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 108 | 'apex-pdp', '6969' |
| 109 | ] |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 110 | |
| 111 | xacml-pdp: |
| 112 | image: ${CONTAINER_LOCATION}onap/policy-xacml-pdp:${POLICY_XACML_PDP_VERSION} |
| 113 | container_name: policy-xacml-pdp |
| 114 | hostname: policy-xacml-pdp |
| 115 | depends_on: |
| 116 | - pap |
| 117 | - kafka |
| 118 | ports: |
| 119 | - ${XACML_PORT}:6969 |
| 120 | - "30999:3904" |
| 121 | volumes: |
| 122 | - ./config/xacml-pdp/defaultConfig.json:/opt/app/policy/pdpx/etc/defaultConfig.json:ro |
| 123 | - ./config/xacml-pdp/logback.xml:/opt/app/policy/pdpx/etc/logback.xml:ro |
| 124 | - ./config/xacml-pdp/xacml-${database:-postgres}.properties:/opt/app/policy/pdpx/apps/guard/xacml.properties:ro |
| 125 | - ./wait_for_port.sh:/opt/app/policy/pdpx/bin/wait_for_port.sh:ro |
| 126 | entrypoint: ./wait_for_port.sh |
| 127 | command: [ |
| 128 | '-c', './policy-pdpx.sh', |
| 129 | 'pap', '6969', |
| 130 | 'kafka', '9092' |
| 131 | ] |
| 132 | |
| 133 | drools-pdp: |
| 134 | image: ${CONTAINER_LOCATION}onap/policy-drools:${POLICY_DROOLS_PDP_VERSION} |
| 135 | container_name: policy-drools-pdp |
| 136 | hostname: policy-drools-pdp |
| 137 | depends_on: |
| 138 | - pap |
| 139 | - kafka |
| 140 | ports: |
| 141 | - ${DROOLS_PORT}:6969 |
| 142 | - ${DROOLS_TELEMETRY_PORT}:9696 |
| 143 | volumes: |
| 144 | - ./config/drools-pdp/custom:/tmp/policy-install/config:ro |
| 145 | - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro |
| 146 | env_file: |
| 147 | - config/drools-pdp/env/base-${database:-postgres}.conf |
| 148 | entrypoint: /opt/app/policy/bin/wait_for_port.sh |
| 149 | command: [ |
| 150 | '-c', '/opt/app/policy/bin/pdpd-entrypoint.sh boot', |
| 151 | 'pap', '6969', |
| 152 | 'kafka', '9092' |
| 153 | ] |
| 154 | |
| 155 | drools-applications: |
| 156 | image: ${CONTAINER_LOCATION}onap/policy-pdpd-cl:${POLICY_DROOLS_APPS_VERSION} |
| 157 | container_name: policy-drools-apps |
| 158 | hostname: policy-drools-apps |
| 159 | depends_on: |
| 160 | - pap |
| 161 | - xacml-pdp |
| 162 | - simulator |
| 163 | - kafka |
| 164 | ports: |
| 165 | - ${DROOLS_APPS_PORT}:6969 |
| 166 | - ${DROOLS_APPS_TELEMETRY_PORT}:9696 |
| 167 | volumes: |
| 168 | - ./config/drools-applications/custom:/tmp/policy-install/config:ro |
| 169 | - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro |
| 170 | env_file: |
| 171 | - config/drools-applications/env/base-${database:-postgres}.conf |
| 172 | - config/drools-applications/env/feature-healthcheck.conf |
| 173 | - config/drools-applications/env/feature-pooling-messages.conf |
| 174 | entrypoint: /opt/app/policy/bin/wait_for_port.sh |
| 175 | command: [ |
| 176 | '-c', '/opt/app/policy/bin/pdpd-cl-entrypoint.sh boot', |
| 177 | 'pap', '6969', |
| 178 | 'kafka', '9092', |
| 179 | 'aai-sim', '6666', |
| 180 | 'sdnc-sim', '6668', |
| 181 | 'so-sim', '6669', |
| 182 | 'vfc-sim', '6670' |
| 183 | ] |
| 184 | |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 185 | policy-clamp-runtime-acm: |
| 186 | image: ${CONTAINER_LOCATION}onap/policy-clamp-runtime-acm:${POLICY_CLAMP_VERSION} |
| 187 | container_name: policy-clamp-runtime-acm |
| 188 | hostname: policy-clamp-runtime-acm |
| 189 | depends_on: |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 190 | - apex-pdp |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 191 | - kafka |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 192 | - jaeger |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 193 | - policy-clamp-ac-http-ppnt |
| 194 | - policy-clamp-ac-k8s-ppnt |
| 195 | - policy-clamp-ac-pf-ppnt |
| 196 | - policy-clamp-ac-sim-ppnt |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 197 | ports: |
| 198 | - ${ACM_PORT}:6969 |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 199 | environment: |
| 200 | OTEL_SERVICE_NAME: acm-r |
| 201 | OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf |
| 202 | OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf |
| 203 | OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318 |
rameshiyer27 | b837fdc | 2024-07-29 08:14:34 +0000 | [diff] [blame] | 204 | SPRING_PROFILES_ACTIVE: ${CLAMP_PROFILE:-default} |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 205 | # Tracing can be configured for grpc or http - default is http |
| 206 | #OTEL_EXPORTER_OTLP_PROTOCOL: grpc |
| 207 | #OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: grpc |
| 208 | #OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4317 |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 209 | volumes: |
rameshiyer27 | b837fdc | 2024-07-29 08:14:34 +0000 | [diff] [blame] | 210 | - ./config/clamp/AcRuntimeParameters.yaml:/opt/app/policy/clamp/etc/AcRuntimeParameters.yaml |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 211 | - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 212 | - ./config/clamp/acm-runtime.sh:/opt/app/policy/clamp/bin/acm-runtime.sh:rw |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 213 | - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro |
| 214 | entrypoint: /opt/app/policy/bin/wait_for_port.sh |
| 215 | command: [ |
| 216 | '-c', './acm-runtime.sh', |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 217 | 'apex-pdp', '6969', |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 218 | 'kafka', '9092', |
| 219 | 'policy-clamp-ac-http-ppnt', '6969', |
| 220 | 'policy-clamp-ac-k8s-ppnt', '6969', |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 221 | 'policy-clamp-ac-pf-ppnt', '6969' |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 222 | ] |
rameshiyer27 | e909866 | 2023-04-03 00:57:58 +0100 | [diff] [blame] | 223 | |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 224 | policy-clamp-ac-http-ppnt: |
| 225 | image: ${CONTAINER_LOCATION}onap/policy-clamp-ac-http-ppnt:${POLICY_CLAMP_PPNT_VERSION} |
| 226 | container_name: policy-clamp-ac-http-ppnt |
| 227 | hostname: policy-clamp-ac-http-ppnt |
| 228 | depends_on: |
| 229 | - kafka |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 230 | - jaeger |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 231 | ports: |
| 232 | - "30290:6969" |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 233 | environment: |
| 234 | OTEL_SERVICE_NAME: http-ppnt |
| 235 | OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf |
| 236 | OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf |
| 237 | OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318 |
rameshiyer27 | b837fdc | 2024-07-29 08:14:34 +0000 | [diff] [blame] | 238 | SPRING_PROFILES_ACTIVE: ${PPNT_PROFILE:-default} |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 239 | volumes: |
rameshiyer27 | b837fdc | 2024-07-29 08:14:34 +0000 | [diff] [blame] | 240 | - ./config/clamp/HttpParticipantParameters.yaml:/opt/app/policy/clamp/etc/HttpParticipantParameters.yaml |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 241 | - ./config/clamp/http-participant.sh:/opt/app/policy/clamp/bin/http-participant.sh:rw |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 242 | - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro |
| 243 | - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro |
| 244 | entrypoint: /opt/app/policy/bin/wait_for_port.sh |
| 245 | command: [ |
| 246 | '-c', './http-participant.sh', |
| 247 | 'kafka', '9092' |
| 248 | ] |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 249 | |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 250 | policy-clamp-ac-k8s-ppnt: |
| 251 | image: ${CONTAINER_LOCATION}onap/policy-clamp-ac-k8s-ppnt:${POLICY_CLAMP_PPNT_VERSION} |
| 252 | container_name: policy-clamp-ac-k8s-ppnt |
| 253 | hostname: policy-clamp-ac-k8s-ppnt |
| 254 | depends_on: |
| 255 | - kafka |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 256 | - jaeger |
| 257 | environment: |
| 258 | OTEL_SERVICE_NAME: k8s-ppnt |
| 259 | OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf |
| 260 | OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf |
| 261 | OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318 |
rameshiyer27 | b837fdc | 2024-07-29 08:14:34 +0000 | [diff] [blame] | 262 | SPRING_PROFILES_ACTIVE: ${PPNT_PROFILE:-default} |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 263 | ports: |
| 264 | - "30295:6969" |
| 265 | volumes: |
rameshiyer27 | b837fdc | 2024-07-29 08:14:34 +0000 | [diff] [blame] | 266 | - ./config/clamp/KubernetesParticipantParameters.yaml:/opt/app/policy/clamp/etc/KubernetesParticipantParameters.yaml |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 267 | - ./config/clamp/kubernetes-participant.sh:/opt/app/policy/clamp/bin/kubernetes-participant.sh:rw |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 268 | - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro |
| 269 | - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro |
| 270 | entrypoint: /opt/app/policy/bin/wait_for_port.sh |
| 271 | command: [ |
| 272 | '-c', './kubernetes-participant.sh', |
| 273 | 'kafka', '9092' |
| 274 | ] |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 275 | |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 276 | policy-clamp-ac-pf-ppnt: |
| 277 | image: ${CONTAINER_LOCATION}onap/policy-clamp-ac-pf-ppnt:${POLICY_CLAMP_PPNT_VERSION} |
| 278 | container_name: policy-clamp-ac-pf-ppnt |
| 279 | hostname: policy-clamp-ac-pf-ppnt |
| 280 | depends_on: |
| 281 | - kafka |
| 282 | - api |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 283 | - jaeger |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 284 | ports: |
| 285 | - ${POLICY_PARTICIPANT_PORT}:6969 |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 286 | environment: |
| 287 | OTEL_SERVICE_NAME: policy-ppnt |
| 288 | OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf |
| 289 | OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf |
| 290 | OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318 |
rameshiyer27 | b837fdc | 2024-07-29 08:14:34 +0000 | [diff] [blame] | 291 | SPRING_PROFILES_ACTIVE: ${PPNT_PROFILE:-default} |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 292 | volumes: |
rameshiyer27 | b837fdc | 2024-07-29 08:14:34 +0000 | [diff] [blame] | 293 | - ./config/clamp/PolicyParticipantParameters.yaml:/opt/app/policy/clamp/etc/PolicyParticipantParameters.yaml:ro |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 294 | - ./config/clamp/policy-participant.sh:/opt/app/policy/clamp/bin/policy-participant.sh:rw |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 295 | - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro |
| 296 | - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro |
| 297 | entrypoint: /opt/app/policy/bin/wait_for_port.sh |
| 298 | command: [ |
| 299 | '-c', './policy-participant.sh', |
| 300 | 'kafka', '9092', |
| 301 | 'api', '6969' |
| 302 | ] |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 303 | |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 304 | policy-clamp-ac-a1pms-ppnt: |
| 305 | image: ${CONTAINER_LOCATION}onap/policy-clamp-ac-a1pms-ppnt:${POLICY_CLAMP_PPNT_VERSION} |
| 306 | container_name: policy-clamp-ac-a1pms-ppnt |
| 307 | hostname: policy-clamp-ac-a1pms-ppnt |
| 308 | depends_on: |
| 309 | - kafka |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 310 | - jaeger |
| 311 | environment: |
| 312 | OTEL_SERVICE_NAME: a1pms-ppnt |
| 313 | OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf |
| 314 | OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf |
| 315 | OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318 |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 316 | ports: |
| 317 | - "30296:6969" |
| 318 | volumes: |
| 319 | - ./config/clamp/A1pmsParticipantParameters.yaml:/opt/app/policy/clamp/etc/A1pmsParticipantParameters.yaml:ro |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 320 | - ./config/clamp/a1pms-participant.sh:/opt/app/policy/clamp/bin/a1pms-participant.sh:rw |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 321 | - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro |
| 322 | - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro |
| 323 | entrypoint: /opt/app/policy/bin/wait_for_port.sh |
| 324 | command: [ |
| 325 | '-c', './a1pms-participant.sh', |
| 326 | 'kafka', '9092' |
| 327 | ] |
adheli.tavares | d802fd9 | 2024-08-15 12:39:19 +0100 | [diff] [blame] | 328 | |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 329 | policy-clamp-ac-kserve-ppnt: |
| 330 | image: ${CONTAINER_LOCATION}onap/policy-clamp-ac-kserve-ppnt:${POLICY_CLAMP_PPNT_VERSION} |
| 331 | container_name: policy-clamp-ac-kserve-ppnt |
| 332 | hostname: policy-clamp-ac-kserve-ppnt |
| 333 | depends_on: |
| 334 | - kafka |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 335 | - jaeger |
| 336 | environment: |
| 337 | OTEL_SERVICE_NAME: kserve-ppnt |
| 338 | OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf |
| 339 | OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf |
| 340 | OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318 |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 341 | ports: |
| 342 | - "30297:6969" |
| 343 | volumes: |
| 344 | - ./config/clamp/KserveParticipantParameters.yaml:/opt/app/policy/clamp/etc/KserveParticipantParameters.yaml:ro |
saul.gill | bbf5f96 | 2024-06-25 17:42:22 +0100 | [diff] [blame] | 345 | - ./config/clamp/kserve-participant.sh:/opt/app/policy/clamp/bin/kserve-participant.sh:rw |
adheli.tavares | 80e382e | 2024-05-01 14:08:35 +0100 | [diff] [blame] | 346 | - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro |
| 347 | - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro |
| 348 | entrypoint: /opt/app/policy/bin/wait_for_port.sh |
| 349 | command: [ |
| 350 | '-c', './kserve-participant.sh', |
| 351 | 'kafka', '9092' |
| 352 | ] |