blob: 5f2c9c8cadc5c39442f1d427ee906df180b0d81f [file] [log] [blame]
BjornMagnussonXA56683ca2022-04-04 17:17:22 +02001################################################################################
2# Copyright 2021 highstreet technologies GmbH
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#
16version: '3.8'
17services:
18 sdnc-web:
19 image: ${SDNC_WEB_IMAGE}
20 container_name: sdnc-web
21 ports:
22 - ${SDNC_WEB_PORT}:${SDNC_WEB_PORT}
23 environment:
24 - ENABLE_OAUTH=false
25 - WEBPROTOCOL=HTTP
26 - WEBPORT=${SDNC_WEB_PORT}
27 - SDNRPROTOCOL=http
28 - SDNRHOST=sdnr
29 - SDNRPORT=${SDNC_REST_PORT}
30 - SSL_CERT_DIR=/opt/app/osaaf/local/certs
31 - SSL_CERTIFICATE=cert.pem
32 - SSL_CERTIFICATE_KEY=key.pem
33 volumes:
34 - ./sdnc-web:/opt/app/osaaf/local/certs
35 networks:
36 dmz:
37 smo:
38 labels:
39 - "pmflowtest=cont"
40
41
42 sdnr:
43 image: ${SDNC_IMAGE}
44 container_name: sdnr
45 ports:
46 - ${SDNC_REST_PORT}:8181
47 - 8101:8101
48 - 6666:6666
49 - 4335:4335
50 environment:
51 - SDNC_CONFIG_DIR=/opt/onap/ccsdk/data/properties
52 - ODL_CERT_DIR=${SDNC_CERT_DIR}
53 - ENABLE_ODL_CLUSTER=false
54 - SDNC_REPLICAS=0
55 - CCSDK_REPLICAS=0
56 - DOMAIN=""
57 - SDNRWT=true
58 - SDNRONLY=true
59 - SDNRINIT=true
60 - SDNRDM=true
61 - SDNRDBURL=http://persistence:9200
62 - A1_ADAPTER_NORTHBOUND=false
63 - ODL_ADMIN_PASSWORD=${ADMIN_PASSWORD}
64 - ENABLE_OAUTH=false
65 - SDNR_NETCONF_CALLHOME_ENABLED=true
66 - JAVA_OPTS=-Xms256m -Xmx4g
67 - IDENTITY_PROVIDER_URL=${IDENTITY_PROVIDER_URL}
68 - SDNC_WEB_URL=https://sdnc-web:${SDNC_WEB_PORT}
69 volumes:
70 - ./sdnr/oauth-aaa-app-config.xml:/opt/opendaylight/current/system/org/opendaylight/aaa/aaa-shiro/0.13.3/aaa-shiro-0.13.3-aaa-app-config.xml
71 - ./sdnr/oauth-provider.config.json:/opt/opendaylight/etc/oauth-provider.config.json
72 - ./sdnr/devicemanager.properties:/opt/opendaylight/etc/devicemanager.properties
73 - ./sdnr/mountpoint-registrar.properties:/opt/opendaylight/etc/mountpoint-registrar.properties
74 - ./sdnr/certs/certs.properties:${SDNC_CERT_DIR}/certs.properties
75 - ./sdnr/certs/keys0.zip:${SDNC_CERT_DIR}/keys0.zip
76 networks:
77 dmz:
78 smo:
79 default:
80 ipv6_address: ${SDNC_OAM_IPv6}
81 labels:
82 - "pmflowtest=cont"
83
84 ves-collector:
85 image: ${VES_COLLECTOR_IMAGE}
86 container_name: ves-collector
87 environment:
88 DMAAPHOST: onap-dmaap
89 ports:
90 - 8080:8080
91 - 8443:8443
92 volumes:
93 - ./ves-collector/collector.properties:/opt/app/VESCollector/etc/collector.properties
94 - ./ves-collector/ves-dmaap-config.json:/opt/app/VESCollector/etc/ves-dmaap-config.json
95 - ./ves-collector/externalRepo:/opt/app/VESCollector/etc/externalRepo
96 networks:
97 smo:
98 default:
99 ipv6_address: ${VES_COLLECTOR_OAM_IPv6}
100 labels:
101 - "pmflowtest=cont"
102
103networks:
104 dmz:
105 external: true
106 smo:
107 external: true
108 default:
109 driver: bridge
110 name: oam
111 enable_ipv6: true
112 ipam:
113 driver: default
114 config:
115 - subnet: ${NETWORK_SUBNET_OAM_IPv6}
116 gateway: ${NETWORK_GATEWAY_OAM_IPv6}