khenaidoo | 297cd25 | 2019-02-07 22:10:23 -0500 | [diff] [blame] | 1 | --- |
| 2 | # Copyright 2019 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 | |
| 16 | version: '2' |
| 17 | services: |
| 18 | rw_core1: |
| 19 | image: voltha-rw-core |
| 20 | entrypoint: |
| 21 | - /app/rw_core |
| 22 | - -kv_store_type=etcd |
| 23 | - -kv_store_host=${DOCKER_HOST_IP} |
| 24 | - -kv_store_port=2379 |
| 25 | - -grpc_port=50057 |
| 26 | - -banner=true |
| 27 | - -kafka_adapter_host=${DOCKER_HOST_IP} |
| 28 | - -kafka_adapter_port=9092 |
| 29 | - -kafka_cluster_host=${DOCKER_HOST_IP} |
| 30 | - -kafka_cluster_port=9092 |
| 31 | - -rw_core_topic=rwcore |
| 32 | - -kv_store_data_prefix=service/voltha |
| 33 | - -in_competing_mode=true |
| 34 | - -timeout_long_request=3000 |
| 35 | - -timeout_request=300 |
| 36 | - -log_level=0 |
| 37 | ports: |
| 38 | - 50057:50057 |
| 39 | volumes: |
| 40 | - "/var/run/docker.sock:/tmp/docker.sock" |
| 41 | networks: |
| 42 | - default |
| 43 | |
| 44 | rw_core2: |
| 45 | image: voltha-rw-core |
| 46 | entrypoint: |
| 47 | - /app/rw_core |
| 48 | - -kv_store_type=etcd |
| 49 | - -kv_store_host=${DOCKER_HOST_IP} |
| 50 | - -kv_store_port=2379 |
| 51 | - -grpc_port=50057 |
| 52 | - -banner=true |
| 53 | - -kafka_adapter_host=${DOCKER_HOST_IP} |
| 54 | - -kafka_adapter_port=9092 |
| 55 | - -kafka_cluster_host=${DOCKER_HOST_IP} |
| 56 | - -kafka_cluster_port=9092 |
| 57 | - -rw_core_topic=rwcore |
| 58 | - -kv_store_data_prefix=service/voltha |
| 59 | - -in_competing_mode=true |
| 60 | - -timeout_long_request=3000 |
| 61 | - -timeout_request=300 |
| 62 | - -log_level=0 |
| 63 | ports: |
| 64 | - 50058:50057 |
| 65 | volumes: |
| 66 | - "/var/run/docker.sock:/tmp/docker.sock" |
| 67 | networks: |
| 68 | - default |
| 69 | networks: |
| 70 | default: |
| 71 | driver: bridge |