Merge "Added CSIT for Macroflow with HEAT"
[integration/csit.git] / plans / ccsdk-oran / polmansuite / docker-compose.yml
1 #  Copyright (C) 2021 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'
17
18 networks:
19   default:
20     driver: bridge
21
22 services:
23   policy-agent:
24     image: nexus3.onap.org:10003/onap/ccsdk-oran-a1policymanagementservice:1.1.1-STAGING-latest
25     container_name: policy-agent
26     networks:
27       default:
28         aliases:
29           - policy-agent-container
30     ports:
31       - 8081:8081
32       - 8433:8433
33     volumes:
34       - ./config/application_configuration.json:/opt/app/policy-agent/data/application_configuration.json:ro
35     # For using own certs instead of the default ones (built into the container),
36     # place them in config/ directory, update the application-policyagent.yaml file, and uncomment the following lines
37     #  - ./config/keystore-policyagent.jks:/opt/app/policy-agent/etc/cert/keystore.jks:ro
38     #  - ./config/truststore-policyagent.jks:/opt/app/policy-agent/etc/cert/truststore.jks:ro
39     #  - ./config/application-policyagent.yaml:/opt/app/policy-agent/config/application.yaml:ro
40
41   a1-sim-OSC:
42     image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:2.1.0
43     container_name: a1-sim-OSC
44     networks:
45       - default
46     ports:
47       - 30001:8085
48       - 30002:8185
49     environment:
50       - A1_VERSION=OSC_2.1.0
51       - REMOTE_HOSTS_LOGGING=1
52       - ALLOW_HTTP=true
53
54   a1-sim-STD:
55     image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:2.1.0
56     container_name: a1-sim-STD
57     networks:
58       - default
59     ports:
60       - 30003:8085
61       - 30004:8185
62     environment:
63       - A1_VERSION=STD_1.1.3
64       - REMOTE_HOSTS_LOGGING=1
65       - ALLOW_HTTP=true
66
67   a1-sim-STD-v2:
68     image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:2.1.0
69     container_name: a1-sim-STD-v2
70     networks:
71       - default
72     ports:
73       - 30005:8085
74       - 30006:8185
75     environment:
76       - A1_VERSION=STD_2.0.0
77       - REMOTE_HOSTS_LOGGING=1
78       - ALLOW_HTTP=true