blob: 89ed399d78e71fe172e463ebbfd04eb12cdc124d [file] [log] [blame]
Zack Williams998f4422018-09-19 10:38:57 -07001---
Joey Armstrong7a9af442024-01-03 19:26:36 -05002# Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
Zack Williams998f4422018-09-19 10:38:57 -07003# 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
khenaidoocfee5f42018-07-19 22:47:38 -040017version: '2'
18services:
19 rw_core:
20 image: voltha-rw-core
21 entrypoint:
22 - /app/rw_core
khenaidoo5c11af72018-07-20 17:21:05 -040023 - -kv_store_type=etcd
24 - -kv_store_host=${DOCKER_HOST_IP}
25 - -kv_store_port=2379
khenaidoobf6e7bb2018-08-14 22:27:29 -040026 - -grpc_port=50057
khenaidoo5c11af72018-07-20 17:21:05 -040027 - -banner=true
Richard Jankowski55f75db2018-10-22 16:07:51 -040028 - -kafka_adapter_host=${DOCKER_HOST_IP}
khenaidoob9203542018-09-17 22:56:37 -040029 - -kafka_adapter_port=9092
Richard Jankowski55f75db2018-10-22 16:07:51 -040030 - -kafka_cluster_host=${DOCKER_HOST_IP}
khenaidoob9203542018-09-17 22:56:37 -040031 - -kafka_cluster_port=9092
32 - -rw_core_topic=rwcore
khenaidoo9cdc1a62019-01-24 21:57:40 -050033 - -kv_store_data_prefix=service/voltha
34 - -in_competing_mode=false
khenaidoo0458db62019-06-20 08:50:36 -040035 - -timeout_long_request=6000
36 - -timeout_request=3000
37 - -core_timeout=3000
38 - -log_level=0
khenaidoobf6e7bb2018-08-14 22:27:29 -040039 ports:
khenaidoo5aadea02018-11-07 14:30:11 -050040 - 50057:50057
khenaidoocfee5f42018-07-19 22:47:38 -040041 volumes:
42 - "/var/run/docker.sock:/tmp/docker.sock"
43 networks:
44 - default
45
46networks:
47 default:
48 driver: bridge