blob: 48c32ba0da2e4d9feabd513201d1dd4905a90d44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
version: "2.2"
services:
sdnr:
image: ${NEXUS_DOCKER_IMAGE_NAME}:${NEXUS_DOCKER_IMAGE_TAG}
container_name: sdnr
ports:
- "8181:8181"
- "8101:8101"
- "${SDNR_WEBSOCKET_PORT}:${SDNR_WEBSOCKET_PORT}"
#entrypoint: ["/bin/bash", "/opt/onap/sdnc/bin/startODL.oom.sh"]
environment:
- SDNC_CONFIG_DIR=/opt/onap/ccsdk/data/properties
- ODL_CERT_DIR=${ODL_CERT_DIR}
- ODL_ADMIN_PASSWORD=${ODL_ADMIN_PASSWORD}
- ENABLE_ODL_CLUSTER=false
- SDNC_REPLICAS=0
- CCSDK_REPLICAS=0
- DOMAIN=""
- SDNRWT=true
- SDNRINIT=true
- SDNRONLY=true
- JAVA_OPTS=-Xms256m -Xmx2g
- SDNR_WEBSOCKET_PORT=${SDNR_WEBSOCKET_PORT}
- SDNR_KAFKA_ENABLED=true
- SDNR_KAFKA_BOOTSTRAP_SERVERS=kafka:9092
- SDNR_KAFKA_SECURITY_PROTOCOL=PLAINTEXT
- SDNR_KAFKA_SASL_MECHANISM=PLAIN
- SDNR_KAFKA_SASL_JAAS_CONFIG=PLAIN
- SDNRUSERNAME=${ODL_ADMIN_USERNAME}
- SDNRPASSWORD=${ODL_ADMIN_PASSWORD}
- SDNRDBTYPE=MARIADB
- SDNRDBURL=jdbc:mysql://sdnrdb:3306/sdnrdb
- SDNRDBUSERNAME=sdnrdb
- SDNRDBPASSWORD=sdnrdb
volumes:
- ./sdnr/certs/certs.properties:${ODL_CERT_DIR}/certs.properties
- ./sdnr/certs/keys0.zip:${ODL_CERT_DIR}/keys0.zip
networks:
integration:
ipv4_address: ${SDNR_IP}
logging:
driver: "json-file"
options:
max-size: "30m"
max-file: "5"
networks:
integration:
name: ${NETWORK_NAME}
driver: bridge
ipam:
driver: default
config:
- subnet: ${NETWORK_SUBNET}
gateway: ${GATEWAY_IP}
|