1 ################################################################################
2 # Copyright 2023 highstreet technologies GmbH
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 # no more versions needed! Compose spec supports all features w/o a version
21 image: ${SDNC_WEB_IMAGE}
27 WEBPORT: ${SDNC_WEB_PORT}
30 SDNRPORT: ${SDNC_REST_PORT}
33 traefik.http.routers.sdnc-web.entrypoints: websecure
34 traefik.http.routers.sdnc-web.rule: Host(`odlux.oam.${SOLUTION_DOMAIN}`)
35 traefik.http.routers.sdnc-web.tls: true
36 traefik.http.services.sdnc-web.loadbalancer.server.port: ${SDNC_WEB_PORT}
39 condition: service_healthy
46 container_name: controller
49 - "controller.dcn.${SOLUTION_DOMAIN}:${HOST_IP}"
51 test: wget --no-verbose --tries=1 --spider http://localhost:${SDNC_REST_PORT}/ready || exit 1
57 ENABLE_ODL_CLUSTER: false
59 ODL_CERT_DIR: ${SDNC_CERT_DIR}
60 ODL_ADMIN_PASSWORD: ${ADMIN_PASSWORD}
61 SDNC_CONFIG_DIR: /opt/onap/ccsdk/data/properties
69 SDNRDBURL: http://persistence:9200
70 SDNR_NETCONF_CALLHOME_ENABLED: true
71 A1_ADAPTER_NORTHBOUND: false
72 JAVA_OPTS: -Xms256m -Xmx4g
73 IDENTITY_PROVIDER_URL: ${IDENTITY_PROVIDER_URL}
74 SDNC_WEB_URL: https://odlux.oam.${SOLUTION_DOMAIN}
75 SDNR_VES_COLLECTOR_ENABLED: true
76 SDNR_VES_COLLECTOR_TLS_ENABLED: false
77 SDNR_VES_COLLECTOR_TRUST_ALL_CERTS: true
78 SDNR_VES_COLLECTOR_IP: ves-collector
79 SDNR_VES_COLLECTOR_PORT: $VES_ENDPOINT_PORT
80 SDNR_VES_COLLECTOR_VERSION: v7
81 SDNR_VES_COLLECTOR_REPORTING_ENTITY_NAME: ONAP SDN-R
82 SDNR_VES_COLLECTOR_EVENTLOG_MSG_DETAIL: LONG
83 SDNR_VES_COLLECTOR_USERNAME: ${VES_ENDPOINT_USERNAME}
84 SDNR_VES_COLLECTOR_PASSWORD: ${VES_ENDPOINT_PASSWORD}
86 - ./controller/oauth-aaa-app-config.xml:/opt/onap/sdnc/data/oauth-aaa-app-config.xml
87 - ./controller/oauth-provider.config.json:/opt/opendaylight/etc/oauth-provider.config.json
88 - ./controller/devicemanager.properties:/opt/opendaylight/etc/devicemanager.properties
89 - ./controller/mountpoint-registrar.properties:/opt/opendaylight/etc/mountpoint-registrar.properties
90 - ./controller/certs/certs.properties:${SDNC_CERT_DIR}/certs.properties
91 - ./controller/certs/keys0.zip:${SDNC_CERT_DIR}/keys0.zip
94 traefik.http.routers.controller.entrypoints: websecure
95 traefik.http.routers.controller.rule: Host(`controller.dcn.${SOLUTION_DOMAIN}`)
96 traefik.http.routers.controller.tls: true
97 traefik.http.services.controller.loadbalancer.server.port: ${SDNC_REST_PORT}
99 traefik.tcp.routers.controller-ssh.entrypoints: ssh-netconf-callhome
100 traefik.tcp.routers.controller-ssh.rule: HostSNI(`*`)
101 traefik.tcp.routers.controller-ssh.tls: false
102 traefik.tcp.routers.controller-ssh.service: controller-ssh
103 traefik.tcp.services.controller-ssh.loadbalancer.server.port: 4334
105 traefik.tcp.routers.controller-tls.entrypoints: tls-netconf-callhome
106 traefik.tcp.routers.controller-tls.rule: HostSNI(`*`)
107 traefik.tcp.routers.controller-tls.tls: false
108 traefik.tcp.routers.controller-tls.service: controller-tls
109 traefik.tcp.services.controller-tls.loadbalancer.server.port: 4335
115 image: ${VES_COLLECTOR_IMAGE}-configured
117 context: ./ves-collector
119 - BASEIMAGE=${VES_COLLECTOR_IMAGE}
120 container_name: ves-collector
121 hostname: ves-collector
123 - "ves-collector.dcn.${SOLUTION_DOMAIN}:${HOST_IP}"
125 test: curl -k -u ${VES_ENDPOINT_USERNAME}:${VES_ENDPOINT_PASSWORD} ${VES_ENDPOINT_PROTOCOL}://localhost:${VES_ENDPOINT_PORT} || exit 1
133 - ./ves-collector/collector.properties:/opt/app/VESCollector/etc/collector.properties
134 - ./ves-collector/ves-dmaap-config.json:/opt/app/VESCollector/etc/ves-dmaap-config.json
137 traefik.http.routers.ves.entrypoints: websecure
138 traefik.http.routers.ves.rule: Host(`ves-collector.dcn.${SOLUTION_DOMAIN}`)
139 traefik.http.routers.ves.tls: true
140 traefik.http.services.ves.loadbalancer.server.port: ${VES_ENDPOINT_PORT}