Dinesh Belwalkar | 0c328db | 2018-12-02 21:11:49 -0800 | [diff] [blame] | 1 | --- |
Joey Armstrong | 393daca | 2023-07-06 08:47:54 -0400 | [diff] [blame] | 2 | # Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors |
Dinesh Belwalkar | 0c328db | 2018-12-02 21:11:49 -0800 | [diff] [blame] | 3 | # Copyright 2018 the original author or authors. |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | version: '2' |
| 18 | services: |
| 19 | openolt: |
William Kurkian | daa6bb2 | 2019-03-07 12:26:28 -0500 | [diff] [blame] | 20 | image: "${REGISTRY}${REPOSITORY}voltha-adapter-openolt${TAG}" |
Dinesh Belwalkar | 0c328db | 2018-12-02 21:11:49 -0800 | [diff] [blame] | 21 | logging: |
| 22 | driver: "json-file" |
| 23 | options: |
| 24 | max-size: "10m" |
| 25 | max-file: "3" |
| 26 | entrypoint: |
| 27 | - /app/openolt |
| 28 | - -device_type |
| 29 | - "OLT" |
| 30 | - -onus |
| 31 | - "4" |
| 32 | - -internal_if |
| 33 | - "eth0" |
| 34 | - -external_if |
| 35 | - "eth0" |
| 36 | - -vcore_endpoint |
| 37 | - "vcore" |
| 38 | - -promiscuous |
| 39 | - -verbose |
| 40 | ports: |
| 41 | - "50062:50062" |
| 42 | networks: |
| 43 | - default |
| 44 | |
| 45 | networks: |
| 46 | default: |
| 47 | driver: bridge |