blob: d151b0cae0b872394711431cc5e8d27b7849124b [file] [log] [blame]
Matt Jeanneretf1e9c5d2019-02-08 07:41:29 -05001---
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
16version: '2'
17
18networks:
19 default:
20 driver: bridge
21
22services:
23
24 adapter_openonu:
25 image: "${REGISTRY}${REPOSITORY}voltha-adapter-openonu${TAG}"
26 logging:
27 driver: "json-file"
28 options:
29 max-size: "10m"
30 max-file: "3"
31 command: [
32 "/voltha/python/adapters/brcm_openomci_onu/main.py",
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