Create docker-compose file
[nonrtric.git] / docker-compose / nosdnc / docker-compose.yml
1 #  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 #
16 version: '3.0'
17 services:
18   policy-agent:
19     image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent:1.0.0
20     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:
32     image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:1.0.1
33     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:
45     image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:1.0.1
46     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:
58     image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-controlpanel:1.0.0
59     container_name: policy-control-panel
60     networks:
61       - default
62     ports:
63       - 8080:8080
64       - 8082:8082