blob: 3bb0bd8c9ad297c7a8257a3d7d28df9537e419b4 [file] [log] [blame]
ecaiyanlinuxd202b532020-05-30 15:17:59 +02001# Copyright (C) 2020 Nordix Foundation. All rights reserved.
2# ========================================================================
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14# ============LICENSE_END=================================================
15#
16version: '3.0'
17services:
18 policy-agent:
elinuxhenrik1fe09852020-07-27 13:06:03 +020019 image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent:2.1.0
ecaiyanlinuxd202b532020-05-30 15:17:59 +020020 container_name: policy-agent
21 networks:
22 default:
23 aliases:
24 - policy-agent-container
25 ports:
26 - 8081:8081
27 - 8433:8433
28 volumes:
RehanRazaa9a369f2020-06-29 12:06:17 +020029 - ./config/application_configuration.json:/opt/app/policy-agent/data/application_configuration.json:ro
30 # For using own certs instead of the default ones (built into the container),
31 # place them in config/ directory, update the application-policyagent.yaml file, and uncomment the following lines
32 # - ./config/keystore-policyagent.jks:/opt/app/policy-agent/etc/cert/keystore.jks:ro
33 # - ./config/truststore-policyagent.jks:/opt/app/policy-agent/etc/cert/truststore.jks:ro
34 # - ./config/application-policyagent.yaml:/opt/app/policy-agent/config/application.yaml:ro
ecaiyanlinuxd202b532020-05-30 15:17:59 +020035
36 a1-sim-OSC:
ecaiyanlinux236f1182020-06-04 13:42:08 +020037 image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:2.0.0
ecaiyanlinuxd202b532020-05-30 15:17:59 +020038 container_name: a1-sim-OSC
39 networks:
40 - default
41 ports:
42 - 30001:8085
43 - 30002:8185
44 environment:
45 - A1_VERSION=OSC_2.1.0
46 - REMOTE_HOSTS_LOGGING=1
47 - ALLOW_HTTP=true
48
49 a1-sim-STD:
ecaiyanlinux236f1182020-06-04 13:42:08 +020050 image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:2.0.0
ecaiyanlinuxd202b532020-05-30 15:17:59 +020051 container_name: a1-sim-STD
52 networks:
53 - default
54 ports:
55 - 30003:8085
56 - 30004:8185
57 environment:
58 - A1_VERSION=STD_1.1.3
59 - REMOTE_HOSTS_LOGGING=1
60 - ALLOW_HTTP=true
61
62 policy-control-panel:
ecaiyanlinux236f1182020-06-04 13:42:08 +020063 image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-controlpanel:2.0.0
ecaiyanlinuxd202b532020-05-30 15:17:59 +020064 container_name: policy-control-panel
65 networks:
66 - default
67 ports:
68 - 8080:8080
69 - 8082:8082
70
71 db:
72 image: mysql/mysql-server:5.6
73 container_name: sdnc-db
74 networks:
75 - default
76 ports:
77 - "3306"
78 environment:
79 - MYSQL_ROOT_PASSWORD=openECOMP1.0
80 - MYSQL_ROOT_HOST=%
81 logging:
82 driver: "json-file"
83 options:
84 max-size: "30m"
85 max-file: "5"
86
87 a1-controller:
elinuxhenrik1fe09852020-07-27 13:06:03 +020088 image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-a1-controller:2.1.0
ecaiyanlinuxd202b532020-05-30 15:17:59 +020089 depends_on :
90 - db
91 container_name: a1-controller
92 networks:
93 - default
94 entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"]
95 ports:
96 - 8282:8181
97 - 8443:8443
98 links:
99 - db:dbhost
100 - db:sdnctldb01
101 - db:sdnctldb02
102 environment:
103 - MYSQL_ROOT_PASSWORD=openECOMP1.0
104 - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
RehanRazaa9a369f2020-06-29 12:06:17 +0200105 # For using own certs instead of the default ones (built into the container),
106 # place them in config/ directory, update the https-props-a1controller.properties file, and uncomment the following lines
107 #volumes:
108 # - ./config/keystore-a1controller.jks:/etc/ssl/certs/java/keystore.jks:ro
109 # - ./config/truststore-a1controller.jks:/etc/ssl/certs/java/truststore.jks:ro
110 # - ./config/https-props-a1controller.properties:/opt/onap/sdnc/data/properties/https-props.properties:ro
ecaiyanlinuxd202b532020-05-30 15:17:59 +0200111 logging:
112 driver: "json-file"
113 options:
114 max-size: "30m"
115 max-file: "5"