khenaidoo | d2b6df9 | 2018-12-13 16:37:20 -0500 | [diff] [blame] | 1 | --- |
Joey Armstrong | 7a9af44 | 2024-01-03 19:26:36 -0500 | [diff] [blame] | 2 | # Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors |
khenaidoo | d2b6df9 | 2018-12-13 16:37:20 -0500 | [diff] [blame] | 3 | # 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 | |
| 17 | version: '2' |
| 18 | services: |
| 19 | adapter_simulated_olt: |
| 20 | image: "${REGISTRY}${REPOSITORY}voltha-adapter-simulated-olt${TAG}" |
| 21 | logging: |
| 22 | driver: "json-file" |
| 23 | options: |
| 24 | max-size: "10m" |
| 25 | max-file: "3" |
| 26 | command: [ |
| 27 | "/app/simulated_olt", |
| 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 | "--core_topic=rwcore", |
| 33 | "--simulator_topic=simulated_olt", |
khenaidoo | ffe076b | 2019-01-15 16:08:08 -0500 | [diff] [blame] | 34 | "--kv_store_host=${DOCKER_HOST_IP}", |
| 35 | "--kv_store_port=2379", |
khenaidoo | 0458db6 | 2019-06-20 08:50:36 -0400 | [diff] [blame] | 36 | "--onu_number=4" |
khenaidoo | d2b6df9 | 2018-12-13 16:37:20 -0500 | [diff] [blame] | 37 | ] |
| 38 | networks: |
| 39 | - default |
| 40 | |
| 41 | adapter_simulated_onu: |
| 42 | image: "${REGISTRY}${REPOSITORY}voltha-adapter-simulated-onu${TAG}" |
| 43 | logging: |
| 44 | driver: "json-file" |
| 45 | options: |
| 46 | max-size: "10m" |
| 47 | max-file: "3" |
| 48 | command: [ |
| 49 | "/app/simulated_onu", |
| 50 | "--kafka_adapter_host=${DOCKER_HOST_IP}", |
| 51 | "--kafka_adapter_port=9092", |
| 52 | "--kafka_cluster_host=${DOCKER_HOST_IP}", |
| 53 | "--kafka_cluster_port=9092", |
| 54 | "--core_topic=rwcore", |
khenaidoo | ffe076b | 2019-01-15 16:08:08 -0500 | [diff] [blame] | 55 | "--kv_store_host=${DOCKER_HOST_IP}", |
| 56 | "--kv_store_port=2379", |
khenaidoo | d2b6df9 | 2018-12-13 16:37:20 -0500 | [diff] [blame] | 57 | "--simulator_topic=simulated_onu", |
| 58 | ] |
| 59 | networks: |
| 60 | - default |
| 61 | |
| 62 | |
| 63 | networks: |
| 64 | default: |
| 65 | driver: bridge |