summaryrefslogtreecommitdiffstats
path: root/compose/start-postgres-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compose/start-postgres-tests.sh')
-rw-r--r--compose/start-postgres-tests.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/compose/start-postgres-tests.sh b/compose/start-postgres-tests.sh
index 1c08600a..2d695911 100644
--- a/compose/start-postgres-tests.sh
+++ b/compose/start-postgres-tests.sh
@@ -1,7 +1,7 @@
#!/bin/bash
#
# ============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.
@@ -30,7 +30,8 @@ echo "Configuring docker compose..."
source export-ports.sh > /dev/null 2>&1
source get-versions.sh > /dev/null 2>&1
-export REPLICAS=${1}
-docker-compose -f docker-compose.postgres.yml up -d apex-pdp prometheus
+export component=${1}
+export REPLICAS=${2}
+docker-compose -f docker-compose.postgres.yml up -d ${component} prometheus
cd ${WORKSPACE} \ No newline at end of file