diff options
author | waynedunican <wayne.dunican@est.tech> | 2023-06-27 09:12:00 +0100 |
---|---|---|
committer | waynedunican <wayne.dunican@est.tech> | 2023-06-27 09:12:24 +0100 |
commit | b3d195d3d3a1db6cacb2a2e10e7d9331fa374b7f (patch) | |
tree | 7249562c722165aa155b3b0fbd2154ad05c4f5b8 /compose/docker-compose.yml | |
parent | 82cd63adf72978d85db4e470582c98f804bbf224 (diff) |
Add participant simulator to docker-compose.yml
Issue-ID: POLICY-4738
Change-Id: I76a01fed165b7d39c00be7a56f9627818e14df33
Signed-off-by: waynedunican <wayne.dunican@est.tech>
Diffstat (limited to 'compose/docker-compose.yml')
-rw-r--r-- | compose/docker-compose.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/compose/docker-compose.yml b/compose/docker-compose.yml index dfb6b641..f2b04cc3 100644 --- a/compose/docker-compose.yml +++ b/compose/docker-compose.yml @@ -245,6 +245,7 @@ services: - policy-clamp-ac-http-ppnt - policy-clamp-ac-k8s-ppnt - policy-clamp-ac-pf-ppnt + - policy-clamp-ac-sim-ppnt - apex-pdp hostname: policy-clamp-runtime-acm ports: @@ -261,6 +262,7 @@ services: 'policy-clamp-ac-http-ppnt', '6969', 'policy-clamp-ac-k8s-ppnt', '6969', 'policy-clamp-ac-pf-ppnt', '6969', + 'policy-clamp-ac-sim-ppnt', '6969', 'apex-pdp', '6969' ] @@ -351,6 +353,23 @@ services: '-c', './kserve-participant.sh', 'message-router', '3904' ] + policy-clamp-ac-sim-ppnt: + image: ${CONTAINER_LOCATION}onap/policy-clamp-ac-sim-ppnt:${POLICY_CLAMP_VERSION} + container_name: policy-clamp-ac-sim-ppnt + depends_on: + - simulator + hostname: policy-clamp-ac-sim-ppnt + ports: + - ${SIM_PARTICIPANT_PORT}:6969 + volumes: + - ./config/clamp/SimulatorParticipantParameters.yaml:/opt/app/policy/clamp/etc/SimulatorParticipantParameters.yaml:ro + - ./config/clamp/logback.xml:/opt/app/policy/clamp/etc/logback.xml:ro + - ./wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro + entrypoint: /opt/app/policy/bin/wait_for_port.sh + command: [ + '-c', './sim-participant.sh', + 'message-router', '3904' + ] prometheus: image: ${CONTAINER_LOCATION}prom/prometheus:latest container_name: prometheus |