blob: 226cd204035cacff069db1aab27804b5cb7e8ddb [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:
Matt Jeanneret18949ae2019-02-09 15:00:14 -050025 image: "${REGISTRY}${REPOSITORY}voltha-openonu-adapter${TAG}"
Matt Jeanneretf1e9c5d2019-02-08 07:41:29 -050026 logging:
27 driver: "json-file"
28 options:
29 max-size: "10m"
30 max-file: "3"
31 command: [
Matt Jeanneret72f96fc2019-02-11 10:53:05 -050032 "/voltha/adapters/brcm_openomci_onu/main.py",
Matt Jeanneretf1e9c5d2019-02-08 07:41:29 -050033 "-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