Zack Williams | 998f442 | 2018-09-19 10:38:57 -0700 | [diff] [blame] | 1 | --- |
| 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 | |
khenaidoo | cfee5f4 | 2018-07-19 22:47:38 -0400 | [diff] [blame] | 16 | version: '2' |
| 17 | services: |
| 18 | rw_core: |
| 19 | image: voltha-rw-core |
| 20 | entrypoint: |
| 21 | - /app/rw_core |
khenaidoo | 5c11af7 | 2018-07-20 17:21:05 -0400 | [diff] [blame] | 22 | - -kv_store_type=etcd |
| 23 | - -kv_store_host=${DOCKER_HOST_IP} |
| 24 | - -kv_store_port=2379 |
khenaidoo | bf6e7bb | 2018-08-14 22:27:29 -0400 | [diff] [blame] | 25 | - -grpc_host=${DOCKER_HOST_IP} |
| 26 | - -grpc_port=50057 |
khenaidoo | 5c11af7 | 2018-07-20 17:21:05 -0400 | [diff] [blame] | 27 | - -banner=true |
Richard Jankowski | 55f75db | 2018-10-22 16:07:51 -0400 | [diff] [blame] | 28 | - -kafka_adapter_host=${DOCKER_HOST_IP} |
khenaidoo | b920354 | 2018-09-17 22:56:37 -0400 | [diff] [blame] | 29 | - -kafka_adapter_port=9092 |
Richard Jankowski | 55f75db | 2018-10-22 16:07:51 -0400 | [diff] [blame] | 30 | - -kafka_cluster_host=${DOCKER_HOST_IP} |
khenaidoo | b920354 | 2018-09-17 22:56:37 -0400 | [diff] [blame] | 31 | - -kafka_cluster_port=9092 |
| 32 | - -rw_core_topic=rwcore |
| 33 | - -log_level=0 |
khenaidoo | bf6e7bb | 2018-08-14 22:27:29 -0400 | [diff] [blame] | 34 | ports: |
| 35 | - "50057:50057" |
khenaidoo | cfee5f4 | 2018-07-19 22:47:38 -0400 | [diff] [blame] | 36 | volumes: |
| 37 | - "/var/run/docker.sock:/tmp/docker.sock" |
| 38 | networks: |
| 39 | - default |
| 40 | |
| 41 | networks: |
| 42 | default: |
| 43 | driver: bridge |