From 80e382eaac6fa812ea0c242c4a0c3a0390a4c130 Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Wed, 1 May 2024 14:08:35 +0100 Subject: Restructure of CSIT scripts - CSIT robot test suits are now compiled into a docker image - dependencies are now installed as part of Dockerfile build Issue-ID: POLICY-4987 Change-Id: I5ae4e9f58471a6038c25548d9392ece78b20e67a Signed-off-by: adheli.tavares --- compose/docker-compose.pdp.scale.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'compose/docker-compose.pdp.scale.yml') diff --git a/compose/docker-compose.pdp.scale.yml b/compose/docker-compose.pdp.scale.yml index 104de3c6..a10264a5 100644 --- a/compose/docker-compose.pdp.scale.yml +++ b/compose/docker-compose.pdp.scale.yml @@ -1,6 +1,6 @@ # # ===========LICENSE_START==================================================== -# Copyright (C) 2023 Nordix Foundation. +# Copyright (C) 2023-2024 Nordix Foundation. # ============================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,7 +16,6 @@ # ============LICENSE_END===================================================== # -version: '2' services: apexpdp: image: ${CONTAINER_LOCATION}onap/policy-apex-pdp:${POLICY_APEX_PDP_VERSION} @@ -30,8 +29,8 @@ services: - 6969 - 23324 deploy: - mode: replicated - replicas: ${REPLICAS} + mode: replicated + replicas: ${REPLICAS} volumes: - ./config/apex-pdp/OnapPfConfig.json:/opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json:ro - ./config/apex-pdp/logback.xml:/opt/app/policy/apex-pdp/etc/logback.xml:ro @@ -42,7 +41,7 @@ services: 'mariadb', '3306', 'kafka', '9092', 'pap', '6969' - ] + ] nginx: image: ${CONTAINER_LOCATION}library/nginx:latest volumes: @@ -50,8 +49,7 @@ services: depends_on: - apexpdp ports: - - ${APEX_PORT}:${APEX_PORT} - + - ${APEX_PORT}:${APEX_PORT} zookeeper: image: confluentinc/cp-zookeeper:latest environment: @@ -59,7 +57,6 @@ services: ZOOKEEPER_TICK_TIME: 2000 ports: - 2181:2181 - kafka: image: confluentinc/cp-kafka:latest container_name: kafka -- cgit 1.2.3-korg