blob: 94f91e569cacf22c39d7975d0faa0d476df007cf [file] [log] [blame]
khenaidoo297cd252019-02-07 22:10:23 -05001---
Joey Armstrong7a9af442024-01-03 19:26:36 -05002# Copyright 2019-2024 Open Networking Foundation (ONF) and the ONF Contributors
khenaidoo297cd252019-02-07 22:10:23 -05003# Copyright 2019 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 rw_core1:
20 image: voltha-rw-core
21 entrypoint:
22 - /app/rw_core
23 - -kv_store_type=etcd
24 - -kv_store_host=${DOCKER_HOST_IP}
25 - -kv_store_port=2379
26 - -grpc_port=50057
27 - -banner=true
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 - -rw_core_topic=rwcore
33 - -kv_store_data_prefix=service/voltha
34 - -in_competing_mode=true
khenaidoo1ce37ad2019-03-24 22:07:24 -040035 - -timeout_long_request=5000
36 - -timeout_request=6000
37 - -log_level=4
khenaidoo297cd252019-02-07 22:10:23 -050038 ports:
39 - 50057:50057
40 volumes:
41 - "/var/run/docker.sock:/tmp/docker.sock"
42 networks:
43 - default
44
45 rw_core2:
46 image: voltha-rw-core
47 entrypoint:
48 - /app/rw_core
49 - -kv_store_type=etcd
50 - -kv_store_host=${DOCKER_HOST_IP}
51 - -kv_store_port=2379
52 - -grpc_port=50057
53 - -banner=true
54 - -kafka_adapter_host=${DOCKER_HOST_IP}
55 - -kafka_adapter_port=9092
56 - -kafka_cluster_host=${DOCKER_HOST_IP}
57 - -kafka_cluster_port=9092
58 - -rw_core_topic=rwcore
59 - -kv_store_data_prefix=service/voltha
60 - -in_competing_mode=true
khenaidoo1ce37ad2019-03-24 22:07:24 -040061 - -timeout_long_request=5000
62 - -timeout_request=6000
63 - -log_level=4
khenaidoo297cd252019-02-07 22:10:23 -050064 ports:
65 - 50058:50057
66 volumes:
67 - "/var/run/docker.sock:/tmp/docker.sock"
68 networks:
69 - default
70networks:
71 default:
72 driver: bridge