X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fsimulator-group%2Fsdnc%2Fdocker-compose.yml;h=505a54cc850a8c06138b49cefc596756d2561b16;hb=23d69b4a0fac41be58676c006867332c9fac6071;hp=85d88cd76e52888e2d0bab66f75efb6362f2a14d;hpb=34882342628629b55c19e7f6a5369de045ab9102;p=nonrtric.git diff --git a/test/simulator-group/sdnc/docker-compose.yml b/test/simulator-group/sdnc/docker-compose.yml index 85d88cd7..505a54cc 100644 --- a/test/simulator-group/sdnc/docker-compose.yml +++ b/test/simulator-group/sdnc/docker-compose.yml @@ -13,13 +13,12 @@ # See the License for the specific language governing permissions and # limitations under the License. # ================================================================================== -version: '2.1' +version: '3' networks: default: - driver: bridge + external: true name: ${DOCKER_SIM_NWNAME} - services: db: image: ${SDNC_DB_IMAGE} @@ -36,8 +35,11 @@ services: options: max-size: "30m" max-file: "5" + labels: + - "nrttest_app=SDNC" + - "nrttest_dp=SDNC DB" - a1-controller: + a1controller: image: ${SDNC_A1_CONTROLLER_IMAGE} depends_on : - db @@ -47,19 +49,23 @@ services: entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"] ports: - ${SDNC_EXTERNAL_PORT}:${SDNC_INTERNAL_PORT} + - ${SDNC_EXTERNAL_SECURE_PORT}:${SDNC_INTERNAL_SECURE_PORT} links: - db:dbhost - db:sdnctldb01 - db:sdnctldb02 environment: - MYSQL_ROOT_PASSWORD=openECOMP1.0 + - SDNC_DB_INIT=true - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties - dns: - - ${DNS_IP_ADDR-10.0.100.1} + - A1_TRUSTSTORE_PASSWORD=${SDNC_A1_TRUSTSTORE_PASSWORD} + - ODL_ADMIN_USERNAME=${SDNC_USER} + - ODL_ADMIN_PASSWORD=${SDNC_PWD} logging: driver: "json-file" options: max-size: "30m" max-file: "5" - extra_hosts: - aaf.osaaf.org: 10.12.6.214 + labels: + - "nrttest_app=SDNC" + - "nrttest_dp=${SDNC_DISPLAY_NAME}"