Matt Jeanneret | f1e9c5d | 2019-02-08 07:41:29 -0500 | [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 | |
| 16 | version: '2' |
| 17 | |
| 18 | networks: |
| 19 | default: |
| 20 | driver: bridge |
| 21 | |
| 22 | services: |
| 23 | |
| 24 | adapter_openonu: |
Matt Jeanneret | 18949ae | 2019-02-09 15:00:14 -0500 | [diff] [blame] | 25 | image: "${REGISTRY}${REPOSITORY}voltha-openonu-adapter${TAG}" |
Matt Jeanneret | f1e9c5d | 2019-02-08 07:41:29 -0500 | [diff] [blame] | 26 | logging: |
| 27 | driver: "json-file" |
| 28 | options: |
| 29 | max-size: "10m" |
| 30 | max-file: "3" |
| 31 | command: [ |
Matt Jeanneret | 72f96fc | 2019-02-11 10:53:05 -0500 | [diff] [blame] | 32 | "/voltha/adapters/brcm_openomci_onu/main.py", |
Matt Jeanneret | f1e9c5d | 2019-02-08 07:41:29 -0500 | [diff] [blame] | 33 | "-v", |
| 34 | "--name=openonu", |
| 35 | "--kafka_adapter=${DOCKER_HOST_IP}:9092", |
| 36 | "--kafka_cluster=${DOCKER_HOST_IP}:9092", |
| 37 | "--core_topic=rwcore" |
| 38 | ] |
| 39 | networks: |
| 40 | - default |
| 41 | restart: unless-stopped |
| 42 | |