khenaidoo | 297cd25 | 2019-02-07 22:10:23 -0500 | [diff] [blame] | 1 | --- |
Joey Armstrong | 7a9af44 | 2024-01-03 19:26:36 -0500 | [diff] [blame] | 2 | # Copyright 2019-2024 Open Networking Foundation (ONF) and the ONF Contributors |
khenaidoo | 297cd25 | 2019-02-07 22:10:23 -0500 | [diff] [blame] | 3 | # 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 | |
| 17 | version: '2' |
| 18 | services: |
| 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 |
khenaidoo | 1ce37ad | 2019-03-24 22:07:24 -0400 | [diff] [blame] | 35 | - -timeout_long_request=5000 |
| 36 | - -timeout_request=6000 |
| 37 | - -log_level=4 |
khenaidoo | 297cd25 | 2019-02-07 22:10:23 -0500 | [diff] [blame] | 38 | 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 |
khenaidoo | 1ce37ad | 2019-03-24 22:07:24 -0400 | [diff] [blame] | 61 | - -timeout_long_request=5000 |
| 62 | - -timeout_request=6000 |
| 63 | - -log_level=4 |
khenaidoo | 297cd25 | 2019-02-07 22:10:23 -0500 | [diff] [blame] | 64 | ports: |
| 65 | - 50058:50057 |
| 66 | volumes: |
| 67 | - "/var/run/docker.sock:/tmp/docker.sock" |
| 68 | networks: |
| 69 | - default |
| 70 | networks: |
| 71 | default: |
| 72 | driver: bridge |