demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame^] | 1 | ################################################################################ |
| 2 | # Copyright 2019 highstreet technologies and others |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | version: "3.3" |
| 17 | |
| 18 | services: |
| 19 | sdnr: |
| 20 | image: ${HT_DOCKER_REPO}${HT_DOCKER_IMAGE_NAME}:${HT_DOCKER_IMAGE_TAG} |
| 21 | container_name: sdnr-compose |
| 22 | ports: |
| 23 | - "${PORTPREFIX}8181:8181" |
| 24 | - "${PORTPREFIX}8101:8101" |
| 25 | environment: |
| 26 | - SDNC_CONFIG_DIR=/opt/onap/ccsdk/data/properties |
| 27 | - ENABLE_ODL_CLUSTER=${ENABLE_ODL_CLUSTER} |
| 28 | - CCSDK_REPLICAS=${REPLICAS} |
| 29 | - DOMAIN="" |
| 30 | - SDNRWT=true |
| 31 | volumes: |
| 32 | - ${LOCAL_SDNR_MOUNT}/sdnr/logs:${ODL_HOME}/data/log |
| 33 | - type: bind |
| 34 | source: ./resources/devicemanager.properties |
| 35 | target: ${ODL_HOME}/etc/devicemanager.properties |
| 36 | - type: bind |
| 37 | source: ./resources/org.ops4j.pax.logging.cfg |
| 38 | target: ${ODL_HOME}/etc/org.ops4j.pax.logging.cfg |
| 39 | logging: |
| 40 | driver: "json-file" |
| 41 | options: |
| 42 | max-size: "30m" |
| 43 | max-file: "5" |
| 44 | |
| 45 | ves-test-collector: |
| 46 | image: ${VES_DOCKER_REPO}${VES_TEST_COLLECTOR_IMAGE_NAME}:${VES_TEST_COLLECTOR_IMAGE_TAG} |
| 47 | container_name: ves-test-collector-v${VES_API} |
| 48 | ports: |
| 49 | - "${EXT_VES_PORT}${VES_API}:30000" |
| 50 | environment: |
| 51 | - VES_API=${VES_API} |
| 52 | volumes: |
| 53 | - ${LOCAL_VES_MOUNT}/ves-v${VES_API}/logs:/VES5.0/evel/evel-test-collector/logs |
| 54 | - type: bind |
| 55 | source: ./resources/${VES_FORMAT_FILE} |
| 56 | target: /VES5.0/evel/evel-test-collector/docs/att_interface_definition/event_format_updated.json |
| 57 | - type: bind |
| 58 | source: ./resources/go-collector.sh |
| 59 | target: /VES5.0/evel/evel-test-collector/scripts/linux/go-collector.sh |
| 60 | logging: |
| 61 | driver: "json-file" |
| 62 | options: |
| 63 | max-size: "30m" |
| 64 | max-file: "5" |
| 65 | |
| 66 | netconf-server-simulator: |
| 67 | image: ${HT_DOCKER_REPO}${NETCONF_SERVER_SIMULATOR_IMAGE_NAME}:${NETCONF_SERVER_SIMULATOR_IMAGE_TAG} |
| 68 | container_name: netconf-server-simulator |
| 69 | ports: |
| 70 | - "${EXT_SIM_PORT}:${INT_SIM_PORT}" |
| 71 | - "${EXT_SIM_SSH_PORT}:8000" |
| 72 | environment: |
| 73 | - PORT=${INT_SIM_PORT} |
| 74 | - XMLFILE=xmlNeModel/${SIM_MODEL}.xml |
| 75 | - SSHPORT=-sshport=8000 |
| 76 | logging: |
| 77 | driver: "json-file" |
| 78 | options: |
| 79 | max-size: "30m" |
| 80 | max-file: "5" |
| 81 | |
| 82 | nts-device: |
| 83 | image: ${NTS_DOCKER_REPO}${NTS_IMAGE_NAME}:${NTS_IMAGE_TAG} |
| 84 | container_name: o-ran-sc-sim-device |
| 85 | ports: |
| 86 | - "${NTS_SIM_PORT}:830" |
| 87 | labels: |
| 88 | "NTS-device": "" |
| 89 | environment: |
| 90 | - BUILD_TYPE=device |
| 91 | - NOTIF_DELAY=60 |