Merge "Sample consumer to get kafka broker from ICS"
[nonrtric.git] / docker-compose / a1-sim / docker-compose.yaml
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.5'
17
18 networks:
19   default:
20     driver: bridge
21     name: nonrtric-docker-net
22
23 services:
24   a1-sim-OSC:
25     image: "${A1_SIM_IMAGE_BASE}:${A1_SIM_IMAGE_TAG}"
26     container_name: a1-sim-OSC
27     networks:
28       - default
29     ports:
30       - 30001:8085
31       - 30002:8185
32     environment:
33       - A1_VERSION=OSC_2.1.0
34       - REMOTE_HOSTS_LOGGING=1
35       - ALLOW_HTTP=true
36
37   a1-sim-STD:
38     image: "${A1_SIM_IMAGE_BASE}:${A1_SIM_IMAGE_TAG}"
39     container_name: a1-sim-STD
40     networks:
41       - default
42     ports:
43       - 30003:8085
44       - 30004:8185
45     environment:
46       - A1_VERSION=STD_1.1.3
47       - REMOTE_HOSTS_LOGGING=1
48       - ALLOW_HTTP=true
49
50   a1-sim-STD-v2:
51     image: "${A1_SIM_IMAGE_BASE}:${A1_SIM_IMAGE_TAG}"
52     container_name: a1-sim-STD-v2
53     networks:
54       - default
55     ports:
56       - 30005:8085
57       - 30006:8185
58     environment:
59       - A1_VERSION=STD_2.0.0
60       - REMOTE_HOSTS_LOGGING=1
61       - ALLOW_HTTP=true