aa83c7ac791e4b0bf276acf77fc8cca3cad4e092
[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:2.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/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
35
36   a1-sim-OSC:
37     image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:2.0.0
38     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:
50     image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:2.0.0
51     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:
63     image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-controlpanel:2.0.0
64     container_name: policy-control-panel
65     networks:
66       - default
67     ports:
68       - 8080:8080
69       - 8082:8082