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 - "identity.smo.o-ran-sc.org:${HOST_IP}"
51 test: wget -U ${ADMIN_USERNAME}:${ADMIN_PASSWORD} --no-verbose --tries=1 --spider http://localhost:${SDNC_REST_PORT}/ready || exit 1
60 ENABLE_ODL_CLUSTER: false
62 ODL_CERT_DIR: ${SDNC_CERT_DIR}
63 ODL_ADMIN_PASSWORD: ${ADMIN_PASSWORD}
64 SDNC_CONFIG_DIR: /opt/onap/ccsdk/data/properties
72 SDNRDBURL: http://persistence:9200
73 SDNR_NETCONF_CALLHOME_ENABLED: true
74 A1_ADAPTER_NORTHBOUND: false
75 JAVA_OPTS: -Xms256m -Xmx4g
76 IDENTITY_PROVIDER_URL: ${IDENTITY_PROVIDER_URL}
77 SDNC_WEB_URL: https://odlux.oam.${SOLUTION_DOMAIN}
78 SDNR_VES_COLLECTOR_ENABLED: true
79 SDNR_VES_COLLECTOR_TLS_ENABLED: false
80 SDNR_VES_COLLECTOR_TRUST_ALL_CERTS: true
81 SDNR_VES_COLLECTOR_IP: ves-collector
82 SDNR_VES_COLLECTOR_PORT: $VES_ENDPOINT_PORT
83 SDNR_VES_COLLECTOR_VERSION: v7
84 SDNR_VES_COLLECTOR_REPORTING_ENTITY_NAME: ONAP SDN-R
85 SDNR_VES_COLLECTOR_EVENTLOG_MSG_DETAIL: LONG
86 SDNR_VES_COLLECTOR_USERNAME: ${VES_ENDPOINT_USERNAME}
87 SDNR_VES_COLLECTOR_PASSWORD: ${VES_ENDPOINT_PASSWORD}
89 - ./controller/oauth-aaa-app-config.xml:/opt/onap/sdnc/data/oauth-aaa-app-config.xml
90 - ./controller/oauth-provider.config.json:/opt/opendaylight/etc/oauth-provider.config.json
91 - ./controller/devicemanager.properties:/opt/opendaylight/etc/devicemanager.properties
92 - ./controller/mountpoint-registrar.properties:/opt/opendaylight/etc/mountpoint-registrar.properties
93 - ./controller/certs/certs.properties:${SDNC_CERT_DIR}/certs.properties
94 - ./controller/certs/keys0.zip:${SDNC_CERT_DIR}/keys0.zip
97 traefik.http.routers.controller.entrypoints: websecure
98 traefik.http.routers.controller.rule: Host(`controller.dcn.${SOLUTION_DOMAIN}`)
99 traefik.http.routers.controller.tls: true
100 traefik.http.services.controller.loadbalancer.server.port: ${SDNC_REST_PORT}
102 traefik.tcp.routers.controller-ssh.entrypoints: ssh-netconf-callhome
103 traefik.tcp.routers.controller-ssh.rule: HostSNI(`*`)
104 traefik.tcp.routers.controller-ssh.tls: false
105 traefik.tcp.routers.controller-ssh.service: controller-ssh
106 traefik.tcp.services.controller-ssh.loadbalancer.server.port: 4334
108 traefik.tcp.routers.controller-tls.entrypoints: tls-netconf-callhome
109 traefik.tcp.routers.controller-tls.rule: HostSNI(`*`)
110 traefik.tcp.routers.controller-tls.tls: false
111 traefik.tcp.routers.controller-tls.service: controller-tls
112 traefik.tcp.services.controller-tls.loadbalancer.server.port: 4335
118 image: ${VES_COLLECTOR_IMAGE}-configured
120 context: ./ves-collector
122 - BASEIMAGE=${VES_COLLECTOR_IMAGE}
123 container_name: ves-collector
124 hostname: ves-collector
126 test: curl -k -u ${VES_ENDPOINT_USERNAME}:${VES_ENDPOINT_PASSWORD} ${VES_ENDPOINT_PROTOCOL}://localhost:${VES_ENDPOINT_PORT} || exit 1
134 - ./ves-collector/collector.properties:/opt/app/VESCollector/etc/collector.properties
135 - ./ves-collector/ves-dmaap-config.json:/opt/app/VESCollector/etc/ves-dmaap-config.json
138 traefik.http.routers.ves.entrypoints: websecure
139 traefik.http.routers.ves.rule: Host(`ves-collector.dcn.${SOLUTION_DOMAIN}`)
140 traefik.http.routers.ves.tls: true
141 traefik.http.services.ves.loadbalancer.server.port: ${VES_ENDPOINT_PORT}