summaryrefslogtreecommitdiffstats
path: root/compose/start-compose.sh
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2024-07-19 13:50:04 +0100
committeradheli.tavares <adheli.tavares@est.tech>2024-07-19 15:58:32 +0100
commitdaecbb96b9a747a2edaf33a3e9a9784cc71440a8 (patch)
treeb15dfb91125912a7945256a68f69dc532814ad55 /compose/start-compose.sh
parentbb225c8be9e911880995aefa40072e3347bd5004 (diff)
Add CSIT option to run xacml-pdp against postgres database
Issue-ID: POLICY-5087 Change-Id: Icfece3dbb9263e09a4d59edbea8acad5a4ea7ce3 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'compose/start-compose.sh')
-rwxr-xr-xcompose/start-compose.sh20
1 files changed, 2 insertions, 18 deletions
diff --git a/compose/start-compose.sh b/compose/start-compose.sh
index a6ada298..671927ba 100755
--- a/compose/start-compose.sh
+++ b/compose/start-compose.sh
@@ -32,7 +32,6 @@ COMPOSE_FOLDER="${WORKSPACE}"/compose
# Set default values for the options
grafana=false
-gui=false
# Parse the command-line arguments
while [[ $# -gt 0 ]]
@@ -44,11 +43,6 @@ do
grafana=true
shift
;;
- --gui)
- gui=true
- shift 2
- break;
- ;;
*)
component="$1"
shift
@@ -84,24 +78,14 @@ if [ -n "$component" ]; then
docker compose up -d "${component}" grafana
echo "Prometheus server: http://localhost:${PROMETHEUS_PORT}"
echo "Grafana server: http://localhost:${GRAFANA_PORT}"
- elif [ "$gui" = true ]; then
- echo "Starting application with gui..."
- docker compose -f docker-compose.yml -f docker-compose.gui.yml up -d "${component}" policy-gui
- echo "Clamp GUI: https://localhost:2445/clamp"
else
echo "Starting ${component} application"
docker compose up -d "${component}"
fi
else
export PROJECT=api # api has groups.json complete with all 3 pdps
- if [ "$gui" = true ]; then
- echo "Starting application with gui..."
- docker compose -f docker-compose.yml -f docker-compose.gui.yml up -d
- echo "Clamp GUI: https://localhost:2445/clamp"
- else
- echo "Starting all components..."
- docker compose up -d
- fi
+ echo "Starting all components..."
+ docker compose up -d
fi
cd ${WORKSPACE}