summaryrefslogtreecommitdiffstats
path: root/compose/docker-compose.pdp.scale.yml
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2024-05-01 14:08:35 +0100
committeradheli.tavares <adheli.tavares@est.tech>2024-05-14 11:33:11 +0100
commit80e382eaac6fa812ea0c242c4a0c3a0390a4c130 (patch)
treefa984ad999edefa4f3affba4070415e94fffbb5f /compose/docker-compose.pdp.scale.yml
parentaed46b6a5bfe0680043a2fd2239f642aee5902d7 (diff)
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 <adheli.tavares@est.tech>
Diffstat (limited to 'compose/docker-compose.pdp.scale.yml')
-rw-r--r--compose/docker-compose.pdp.scale.yml13
1 files changed, 5 insertions, 8 deletions
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