William Kurkian | 6f436d0 | 2019-02-06 16:25:01 -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 | services: |
| 18 | adapter_openolt: |
William Kurkian | 44cd7bb | 2019-02-11 16:39:12 -0500 | [diff] [blame] | 19 | image: "${REGISTRY}${REPOSITORY}voltha-openolt-adapter${TAG}" |
William Kurkian | 6f436d0 | 2019-02-06 16:25:01 -0500 | [diff] [blame] | 20 | logging: |
| 21 | driver: "json-file" |
| 22 | options: |
| 23 | max-size: "10m" |
| 24 | max-file: "3" |
| 25 | command: [ |
William Kurkian | 3350875 | 2019-02-12 14:56:06 -0500 | [diff] [blame] | 26 | "/voltha/adapters/openolt/main.py", |
William Kurkian | 6f436d0 | 2019-02-06 16:25:01 -0500 | [diff] [blame] | 27 | "-v", |
| 28 | "--name=openolt", |
| 29 | "--kafka_adapter=${DOCKER_HOST_IP}:9092", |
| 30 | "--kafka_cluster=${DOCKER_HOST_IP}:9092", |
William Kurkian | 92bd712 | 2019-02-14 15:26:59 -0500 | [diff] [blame] | 31 | "--backend=etcd", |
| 32 | "--etcd=${DOCKER_HOST_IP}:2379" |
William Kurkian | 6f436d0 | 2019-02-06 16:25:01 -0500 | [diff] [blame] | 33 | "--core_topic=rwcore" |
| 34 | ] |
| 35 | networks: |
| 36 | - default |
| 37 | #Add brcm_openomci_onu here if needed |
| 38 | networks: |
| 39 | default: |
| 40 | driver: bridge |