blob: 769ae3cbe64cc750f843776a35431dd3df8df9c2 [file] [log] [blame]
khenaidood2b6df92018-12-13 16:37:20 -05001---
Joey Armstrong7a9af442024-01-03 19:26:36 -05002# Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
khenaidood2b6df92018-12-13 16:37:20 -05003# Copyright 2018 the original author or authors.
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17version: '2'
18services:
19 adapter_simulated_olt:
20 image: "${REGISTRY}${REPOSITORY}voltha-adapter-simulated-olt${TAG}"
21 logging:
22 driver: "json-file"
23 options:
24 max-size: "10m"
25 max-file: "3"
26 command: [
27 "/app/simulated_olt",
28 "--kafka_adapter_host=${DOCKER_HOST_IP}",
29 "--kafka_adapter_port=9092",
30 "--kafka_cluster_host=${DOCKER_HOST_IP}",
31 "--kafka_cluster_port=9092",
32 "--core_topic=rwcore",
33 "--simulator_topic=simulated_olt",
khenaidooffe076b2019-01-15 16:08:08 -050034 "--kv_store_host=${DOCKER_HOST_IP}",
35 "--kv_store_port=2379",
khenaidoo0458db62019-06-20 08:50:36 -040036 "--onu_number=4"
khenaidood2b6df92018-12-13 16:37:20 -050037 ]
38 networks:
39 - default
40
41 adapter_simulated_onu:
42 image: "${REGISTRY}${REPOSITORY}voltha-adapter-simulated-onu${TAG}"
43 logging:
44 driver: "json-file"
45 options:
46 max-size: "10m"
47 max-file: "3"
48 command: [
49 "/app/simulated_onu",
50 "--kafka_adapter_host=${DOCKER_HOST_IP}",
51 "--kafka_adapter_port=9092",
52 "--kafka_cluster_host=${DOCKER_HOST_IP}",
53 "--kafka_cluster_port=9092",
54 "--core_topic=rwcore",
khenaidooffe076b2019-01-15 16:08:08 -050055 "--kv_store_host=${DOCKER_HOST_IP}",
56 "--kv_store_port=2379",
khenaidood2b6df92018-12-13 16:37:20 -050057 "--simulator_topic=simulated_onu",
58 ]
59 networks:
60 - default
61
62
63networks:
64 default:
65 driver: bridge