1 ################################################################################
2 # Copyright 2024 highstreet technologies
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}
25 ENABLE_OAUTH: ${SDNC_ENABLE_OAUTH}
27 WEBPORT: ${SDNC_WEB_PORT}
30 SDNRPORT: ${SDNC_REST_PORT}
31 SDNRWEBSOCKETPORT: ${SDNR_WEBSOCKET_PORT}
34 traefik.http.routers.sdnc-web.entrypoints: websecure
35 traefik.http.routers.sdnc-web.rule: Host(`odlux.oam.${HTTP_DOMAIN}`)
36 traefik.http.routers.sdnc-web.tls: true
37 traefik.http.services.sdnc-web.loadbalancer.server.port: ${SDNC_WEB_PORT}
39 deploy: "o-ran-sc-smo-oam"
40 solution: "o-ran-sc-smo"
43 condition: service_healthy
50 container_name: controller
53 - "controller.dcn.${HTTP_DOMAIN}:${HOST_IP}"
55 test: wget --no-verbose --tries=1 --spider http://localhost:${SDNC_REST_PORT}/ready || exit 1
61 ENABLE_ODL_CLUSTER: false
62 ENABLE_OAUTH: ${SDNC_ENABLE_OAUTH}
63 ENABLE_ODLUX_RBAC: false
64 ODL_CERT_DIR: ${SDNC_CERT_DIR}
65 ODL_ADMIN_PASSWORD: ${ADMIN_PASSWORD}
66 SDNC_CONFIG_DIR: /opt/onap/ccsdk/data/properties
75 SDNRDBURL: jdbc:mysql://persistence:3306/sdnrdb
76 SDNRDBUSERNAME: sdnrdb
77 SDNRDBPASSWORD: sdnrdb
78 SDNR_NETCONF_CALLHOME_ENABLED: true
79 A1_ADAPTER_NORTHBOUND: false
80 JAVA_OPTS: -Xms256m -Xmx4g
81 SDNR_WEBSOCKET_PORT: ${SDNR_WEBSOCKET_PORT}
82 IDENTITY_PROVIDER_URL: ${IDENTITY_PROVIDER_URL}
83 SDNC_WEB_URL: https://odlux.oam.${HTTP_DOMAIN}
84 SDNR_VES_COLLECTOR_ENABLED: true
85 SDNR_VES_COLLECTOR_TLS_ENABLED: false
86 SDNR_VES_COLLECTOR_TRUST_ALL_CERTS: true
87 SDNR_VES_COLLECTOR_IP: ves-collector
88 SDNR_VES_COLLECTOR_PORT: $VES_ENDPOINT_PORT
89 SDNR_VES_COLLECTOR_VERSION: v7
90 SDNR_VES_COLLECTOR_REPORTING_ENTITY_NAME: ONAP SDN-R
91 SDNR_VES_COLLECTOR_EVENTLOG_MSG_DETAIL: LONG
92 SDNR_VES_COLLECTOR_USERNAME: ${VES_ENDPOINT_USERNAME}
93 SDNR_VES_COLLECTOR_PASSWORD: ${VES_ENDPOINT_PASSWORD}
95 - ./controller/oauth-aaa-app-config.xml:/opt/onap/sdnc/data/oauth-aaa-app-config.xml
96 - ./controller/oauth-provider.config.json:/opt/opendaylight/etc/oauth-provider.config.json
97 - ./controller/devicemanager.properties:/opt/opendaylight/etc/devicemanager.properties
98 - ./controller/mountpoint-registrar.properties:/opt/opendaylight/etc/mountpoint-registrar.properties
99 - ./controller/certs/certs.properties:${SDNC_CERT_DIR}/certs.properties
100 - ./controller/certs/keys0.zip:${SDNC_CERT_DIR}/keys0.zip
103 traefik.http.routers.controller.entrypoints: websecure
104 traefik.http.routers.controller.rule: Host(`controller.dcn.${HTTP_DOMAIN}`)
105 traefik.http.routers.controller.tls: true
106 traefik.http.services.controller.loadbalancer.server.port: ${SDNC_REST_PORT}
108 traefik.tcp.routers.controller-ssh.entrypoints: ssh-netconf-callhome
109 traefik.tcp.routers.controller-ssh.rule: HostSNI(`*`)
110 traefik.tcp.routers.controller-ssh.tls: false
111 traefik.tcp.routers.controller-ssh.service: controller-ssh
112 traefik.tcp.services.controller-ssh.loadbalancer.server.port: 4334
114 traefik.tcp.routers.controller-tls.entrypoints: tls-netconf-callhome
115 traefik.tcp.routers.controller-tls.rule: HostSNI(`*`)
116 traefik.tcp.routers.controller-tls.tls: false
117 traefik.tcp.routers.controller-tls.service: controller-tls
118 traefik.tcp.services.controller-tls.loadbalancer.server.port: 4335
120 deploy: "o-ran-sc-smo-oam"
121 solution: "o-ran-sc-smo"
127 image: ${VES_COLLECTOR_IMAGE}-configured
129 context: ./ves-collector
131 - BASEIMAGE=${VES_COLLECTOR_IMAGE}
133 container_name: ves-collector
134 hostname: ves-collector
136 - "ves-collector.dcn.${HTTP_DOMAIN}:${HOST_IP}"
138 test: curl -k -u ${VES_ENDPOINT_USERNAME}:${VES_ENDPOINT_PASSWORD} ${VES_ENDPOINT_PROTOCOL}://localhost:${VES_ENDPOINT_PORT} || exit 1
146 - ./ves-collector/collector.properties:/opt/app/VESCollector/etc/collector.properties
147 - ./ves-collector/ves-dmaap-config.json:/opt/app/VESCollector/etc/ves-dmaap-config.json
150 traefik.http.routers.ves.entrypoints: websecure
151 traefik.http.routers.ves.rule: Host(`ves-collector.dcn.${HTTP_DOMAIN}`)
152 traefik.http.routers.ves.tls: true
153 traefik.http.services.ves.loadbalancer.server.port: ${VES_ENDPOINT_PORT}
155 deploy: "o-ran-sc-smo-oam"
156 solution: "o-ran-sc-smo"