diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2024-05-01 14:08:35 +0100 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2024-05-14 11:33:11 +0100 |
commit | 80e382eaac6fa812ea0c242c4a0c3a0390a4c130 (patch) | |
tree | fa984ad999edefa4f3affba4070415e94fffbb5f /compose/docker-compose.gui.yml | |
parent | aed46b6a5bfe0680043a2fd2239f642aee5902d7 (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.gui.yml')
-rw-r--r-- | compose/docker-compose.gui.yml | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/compose/docker-compose.gui.yml b/compose/docker-compose.gui.yml index 326ce217..e2e98b54 100644 --- a/compose/docker-compose.gui.yml +++ b/compose/docker-compose.gui.yml @@ -1,6 +1,6 @@ # # ===========LICENSE_START==================================================== -# Copyright 2023 Nordix Foundation. +# Copyright 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. @@ -15,45 +15,45 @@ # limitations under the License. # ============LICENSE_END===================================================== # -version: '2' + services: - policy-gui: - image: ${CONTAINER_LOCATION}onap/policy-gui:latest - container_name: policy-gui - depends_on: + policy-gui: + image: ${CONTAINER_LOCATION}onap/policy-gui:latest + container_name: policy-gui + depends_on: - policy-clamp-backend - hostname: policy-gui - environment: - CLAMP_URL: http://policy-clamp-backend:8445 - CLAMP_DISABLE_SSL_VALIDATION: "true" - ports: + hostname: policy-gui + environment: + CLAMP_URL: http://policy-clamp-backend:8445 + CLAMP_DISABLE_SSL_VALIDATION: "true" + ports: - "2445:2445" - volumes: + volumes: - ./config/policy-gui/application.yaml:/opt/app/policy/gui/etc/application.yml - ./config/policy-gui/logback.xml:/opt/app/policy/gui/etc/logback.xml:ro - ./wait_for_port.sh:/opt/app/policy/gui/bin/wait_for_port.sh:ro - entrypoint: ./policy-gui.sh - working_dir: /opt/app/policy/gui/bin - command: ./policy-gui.sh - policy-clamp-backend: - image: ${CONTAINER_LOCATION}onap/policy-clamp-backend:latest - container_name: policy-clamp-backend - depends_on: + entrypoint: ./policy-gui.sh + working_dir: /opt/app/policy/gui/bin + command: ./policy-gui.sh + policy-clamp-backend: + image: ${CONTAINER_LOCATION}onap/policy-clamp-backend:latest + container_name: policy-clamp-backend + depends_on: - policy-clamp-runtime-acm - distribution - hostname: policy-clamp-backend - environment: - POLICY_API_HOST: api - POLICY_PAP_HOST: pap - MARIADB_HOST: mariadb - RUNTIME_HOST: policy-clamp-runtime-acm - ports: + hostname: policy-clamp-backend + environment: + POLICY_API_HOST: api + POLICY_PAP_HOST: pap + MARIADB_HOST: mariadb + RUNTIME_HOST: policy-clamp-runtime-acm + ports: - "8445:8445" - volumes: + volumes: - ./config/clamp/ClampBackend.properties:/opt/policy/clamp/config/ClampBackend.properties:ro - ./config/clamp/logback-backend.xml:/opt/policy/clamp/config/logback.xml:ro - working_dir: /opt/policy/clamp - command: java + working_dir: /opt/policy/clamp + command: java -Djava.security.egd=file:/dev/./urandom -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=75 |