diff options
Diffstat (limited to 'testsuites/stability/src/main/resources/setup/docker-compose.yml')
-rw-r--r-- | testsuites/stability/src/main/resources/setup/docker-compose.yml | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/testsuites/stability/src/main/resources/setup/docker-compose.yml b/testsuites/stability/src/main/resources/setup/docker-compose.yml index 48d1851e..2fd77d7b 100644 --- a/testsuites/stability/src/main/resources/setup/docker-compose.yml +++ b/testsuites/stability/src/main/resources/setup/docker-compose.yml @@ -1,5 +1,5 @@ # ============LICENSE_START======================================================= -# Copyright (C) 2021-2022 Nordix Foundation. +# Copyright (C) 2021-2023 Nordix Foundation. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -45,9 +45,9 @@ services: - ./config/wait_for_port.sh:/opt/app/policy/bin/wait_for_port.sh:ro entrypoint: /opt/app/policy/bin/wait_for_port.sh command: [ - '-c', - '/opt/app/policy/bin/db_migrator_policy_init.sh', - 'mariadb', '3306' + '-c', + '/opt/app/policy/bin/db_migrator_policy_init.sh', + 'mariadb', '3306' ] simulator: image: nexus3.onap.org:10001/onap/policy-models-simulator:${POLICY_MODELS_SIMULATOR} @@ -83,9 +83,9 @@ services: - ./config/wait_for_port.sh:/opt/app/policy/api/bin/wait_for_port.sh:ro entrypoint: /opt/app/policy/api/bin/wait_for_port.sh command: [ - '-c', './policy-api.sh', - 'mariadb', '3306', - 'policy-db-migrator', '6824' + '-c', './policy-api.sh', + 'mariadb', '3306', + 'policy-db-migrator', '6824' ] policy-pap: image: nexus3.onap.org:10001/onap/policy-pap:${POLICY_PAP_VERSION} @@ -103,10 +103,10 @@ services: - ./config/jsonConfigs/papGroups.json:/opt/app/policy/pap/etc/mounted/groups.json:ro entrypoint: /opt/app/policy/pap/bin/wait_for_port.sh command: [ - '-c', './policy-pap.sh', - 'mariadb', '3306', - 'message-router', '3904', - 'policy-api', '6969' + '-c', './policy-pap.sh', + 'mariadb', '3306', + 'message-router', '3904', + 'policy-api', '6969' ] policy-dist: image: nexus3.onap.org:10001/onap/policy-distribution:${POLICY_DIST_VERSION} @@ -119,12 +119,14 @@ services: expose: - 6969 - 9090 + ports: + - 9090:9090 container_name: policy-distribution entrypoint: /opt/app/policy/bin/wait_for_port.sh command: [ - '-c', './policy-dist.sh', - 'mariadb', '3306', - 'message-router', '3904', - 'policy-api', '6969', - 'policy-pap', '6969' + '-c', './policy-dist.sh', + 'mariadb', '3306', + 'message-router', '3904', + 'policy-api', '6969', + 'policy-pap', '6969' ] |