Zack Williams | 998f442 | 2018-09-19 10:38:57 -0700 | [diff] [blame] | 1 | --- |
Joey Armstrong | 393daca | 2023-07-06 08:47:54 -0400 | [diff] [blame] | 2 | # Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors |
Zack Williams | 998f442 | 2018-09-19 10:38:57 -0700 | [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 | |
khenaidoo | b920354 | 2018-09-17 22:56:37 -0400 | [diff] [blame] | 17 | version: '2' |
| 18 | services: |
khenaidoo | 9a46896 | 2018-09-19 15:33:13 -0400 | [diff] [blame] | 19 | adapter_ponsim_olt: |
| 20 | image: "${REGISTRY}${REPOSITORY}voltha-adapter-ponsim-olt${TAG}" |
khenaidoo | b920354 | 2018-09-17 22:56:37 -0400 | [diff] [blame] | 21 | logging: |
| 22 | driver: "json-file" |
| 23 | options: |
| 24 | max-size: "10m" |
| 25 | max-file: "3" |
| 26 | command: [ |
khenaidoo | fdbad6e | 2018-11-06 22:26:38 -0500 | [diff] [blame] | 27 | "/voltha/python/adapters/ponsim_olt/main.py", |
khenaidoo | b920354 | 2018-09-17 22:56:37 -0400 | [diff] [blame] | 28 | "-v", |
| 29 | "--name=ponsim_olt", |
Richard Jankowski | 55f75db | 2018-10-22 16:07:51 -0400 | [diff] [blame] | 30 | "--kafka_adapter=${DOCKER_HOST_IP}:9092", |
| 31 | "--kafka_cluster=${DOCKER_HOST_IP}:9092", |
khenaidoo | b920354 | 2018-09-17 22:56:37 -0400 | [diff] [blame] | 32 | "--core_topic=rwcore" |
| 33 | ] |
| 34 | networks: |
| 35 | - default |
| 36 | |
khenaidoo | 9a46896 | 2018-09-19 15:33:13 -0400 | [diff] [blame] | 37 | adapter_ponsim_onu: |
| 38 | image: "${REGISTRY}${REPOSITORY}voltha-adapter-ponsim-onu${TAG}" |
khenaidoo | b920354 | 2018-09-17 22:56:37 -0400 | [diff] [blame] | 39 | logging: |
| 40 | driver: "json-file" |
| 41 | options: |
| 42 | max-size: "10m" |
| 43 | max-file: "3" |
| 44 | command: [ |
khenaidoo | fdbad6e | 2018-11-06 22:26:38 -0500 | [diff] [blame] | 45 | "/voltha/python/adapters/ponsim_onu/main.py", |
khenaidoo | b920354 | 2018-09-17 22:56:37 -0400 | [diff] [blame] | 46 | "-v", |
| 47 | "--name=ponsim_onu", |
Richard Jankowski | 55f75db | 2018-10-22 16:07:51 -0400 | [diff] [blame] | 48 | "--kafka_adapter=${DOCKER_HOST_IP}:9092", |
| 49 | "--kafka_cluster=${DOCKER_HOST_IP}:9092", |
khenaidoo | b920354 | 2018-09-17 22:56:37 -0400 | [diff] [blame] | 50 | "--core_topic=rwcore" |
| 51 | ] |
| 52 | networks: |
| 53 | - default |
| 54 | |
| 55 | networks: |
| 56 | default: |
Zack Williams | 998f442 | 2018-09-19 10:38:57 -0700 | [diff] [blame] | 57 | driver: bridge |