blob: f12f08c43fc826fefdd200a20a1000b4a07df462 [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:
ecaiyanlinux236f1182020-06-04 13:42:08 +020019 image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent:2.0.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:
29 - ./config:/opt/app/policy-agent/config:ro
30
31 a1-sim-OSC:
ecaiyanlinux236f1182020-06-04 13:42:08 +020032 image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:2.0.0
ecaiyanlinuxd202b532020-05-30 15:17:59 +020033 container_name: a1-sim-OSC
34 networks:
35 - default
36 ports:
37 - 30001:8085
38 - 30002:8185
39 environment:
40 - A1_VERSION=OSC_2.1.0
41 - REMOTE_HOSTS_LOGGING=1
42 - ALLOW_HTTP=true
43
44 a1-sim-STD:
ecaiyanlinux236f1182020-06-04 13:42:08 +020045 image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:2.0.0
ecaiyanlinuxd202b532020-05-30 15:17:59 +020046 container_name: a1-sim-STD
47 networks:
48 - default
49 ports:
50 - 30003:8085
51 - 30004:8185
52 environment:
53 - A1_VERSION=STD_1.1.3
54 - REMOTE_HOSTS_LOGGING=1
55 - ALLOW_HTTP=true
56
57 policy-control-panel:
ecaiyanlinux236f1182020-06-04 13:42:08 +020058 image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-controlpanel:2.0.0
ecaiyanlinuxd202b532020-05-30 15:17:59 +020059 container_name: policy-control-panel
60 networks:
61 - default
62 ports:
63 - 8080:8080
64 - 8082:8082
65
66 db:
67 image: mysql/mysql-server:5.6
68 container_name: sdnc-db
69 networks:
70 - default
71 ports:
72 - "3306"
73 environment:
74 - MYSQL_ROOT_PASSWORD=openECOMP1.0
75 - MYSQL_ROOT_HOST=%
76 logging:
77 driver: "json-file"
78 options:
79 max-size: "30m"
80 max-file: "5"
81
82 a1-controller:
ecaiyanlinux236f1182020-06-04 13:42:08 +020083 image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-a1-controller:2.0.0
ecaiyanlinuxd202b532020-05-30 15:17:59 +020084 depends_on :
85 - db
86 container_name: a1-controller
87 networks:
88 - default
89 entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"]
90 ports:
91 - 8282:8181
92 - 8443:8443
93 links:
94 - db:dbhost
95 - db:sdnctldb01
96 - db:sdnctldb02
97 environment:
98 - MYSQL_ROOT_PASSWORD=openECOMP1.0
99 - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
100 logging:
101 driver: "json-file"
102 options:
103 max-size: "30m"
104 max-file: "5"