blob: 09aa672f1dc31b360f84a8ed24fe4a19bc9df84a [file] [log] [blame]
William Kurkian6f436d02019-02-06 16:25:01 -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'
17services:
18 adapter_openolt:
William Kurkian44cd7bb2019-02-11 16:39:12 -050019 image: "${REGISTRY}${REPOSITORY}voltha-openolt-adapter${TAG}"
William Kurkian6f436d02019-02-06 16:25:01 -050020 logging:
21 driver: "json-file"
22 options:
23 max-size: "10m"
24 max-file: "3"
25 command: [
William Kurkian33508752019-02-12 14:56:06 -050026 "/voltha/adapters/openolt/main.py",
William Kurkian6f436d02019-02-06 16:25:01 -050027 "-v",
28 "--name=openolt",
29 "--kafka_adapter=${DOCKER_HOST_IP}:9092",
30 "--kafka_cluster=${DOCKER_HOST_IP}:9092",
William Kurkian92bd7122019-02-14 15:26:59 -050031 "--backend=etcd",
William Kurkian8b1690c2019-03-04 16:53:22 -050032 "--etcd=${DOCKER_HOST_IP}:2379",
William Kurkian6f436d02019-02-06 16:25:01 -050033 "--core_topic=rwcore"
34 ]
35 networks:
36 - default
37#Add brcm_openomci_onu here if needed
38networks:
39 default:
40 driver: bridge