blob: 8b164db6cd2225fcdc77ae9cd712ad57e800af6a [file] [log] [blame]
Zack Williams998f4422018-09-19 10:38:57 -07001---
2# Copyright 2018 the original author or authors.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
khenaidoocfee5f42018-07-19 22:47:38 -040016version: '2'
17services:
18 rw_core:
19 image: voltha-rw-core
20 entrypoint:
21 - /app/rw_core
khenaidoo5c11af72018-07-20 17:21:05 -040022 - -kv_store_type=etcd
23 - -kv_store_host=${DOCKER_HOST_IP}
24 - -kv_store_port=2379
khenaidoobf6e7bb2018-08-14 22:27:29 -040025 - -grpc_port=50057
khenaidoo5c11af72018-07-20 17:21:05 -040026 - -banner=true
Richard Jankowski55f75db2018-10-22 16:07:51 -040027 - -kafka_adapter_host=${DOCKER_HOST_IP}
khenaidoob9203542018-09-17 22:56:37 -040028 - -kafka_adapter_port=9092
Richard Jankowski55f75db2018-10-22 16:07:51 -040029 - -kafka_cluster_host=${DOCKER_HOST_IP}
khenaidoob9203542018-09-17 22:56:37 -040030 - -kafka_cluster_port=9092
31 - -rw_core_topic=rwcore
32 - -log_level=0
khenaidoobf6e7bb2018-08-14 22:27:29 -040033 ports:
khenaidoo5aadea02018-11-07 14:30:11 -050034 - 50057:50057
khenaidoocfee5f42018-07-19 22:47:38 -040035 volumes:
36 - "/var/run/docker.sock:/tmp/docker.sock"
37 networks:
38 - default
39
40networks:
41 default:
42 driver: bridge