VOL-1398: Adtran-ONU - Initial containerization commit
Change-Id: I7afcc1ad65b9ef80da994b0b0ddf74860911bb46
diff --git a/compose/adapters-adtran_onu.yml b/compose/adapters-adtran_onu.yml
new file mode 100644
index 0000000..839d206
--- /dev/null
+++ b/compose/adapters-adtran_onu.yml
@@ -0,0 +1,41 @@
+---
+# Copyright 2018 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+version: '2'
+services:
+ ponsim_onu:
+ image: "${REGISTRY}${REPOSITORY}voltha-adapter-adtran-onu${TAG}"
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "10m"
+ max-file: "3"
+ entrypoint:
+ - /app/adtran_onu
+ - -device_type
+ - "OLT"
+ - -internal_if
+ - "eth0"
+ - -external_if
+ - "eth0"
+ - -verbose
+ ports:
+ - "50061:50061"
+ networks:
+ - default
+
+networks:
+ default:
+ driver: bridge