blob: 9a5a5c60b996a90113934fac6c9dd09301e3d490 [file] [log] [blame]
Zack Williams998f4422018-09-19 10:38:57 -07001---
Joey Armstrong393daca2023-07-06 08:47:54 -04002# Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
Zack Williams998f4422018-09-19 10:38:57 -07003# 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
khenaidoob9203542018-09-17 22:56:37 -040017version: '2'
18services:
khenaidoo9a468962018-09-19 15:33:13 -040019 adapter_ponsim_olt:
20 image: "${REGISTRY}${REPOSITORY}voltha-adapter-ponsim-olt${TAG}"
khenaidoob9203542018-09-17 22:56:37 -040021 logging:
22 driver: "json-file"
23 options:
24 max-size: "10m"
25 max-file: "3"
26 command: [
khenaidoofdbad6e2018-11-06 22:26:38 -050027 "/voltha/python/adapters/ponsim_olt/main.py",
khenaidoob9203542018-09-17 22:56:37 -040028 "-v",
29 "--name=ponsim_olt",
Richard Jankowski55f75db2018-10-22 16:07:51 -040030 "--kafka_adapter=${DOCKER_HOST_IP}:9092",
31 "--kafka_cluster=${DOCKER_HOST_IP}:9092",
khenaidoob9203542018-09-17 22:56:37 -040032 "--core_topic=rwcore"
33 ]
34 networks:
35 - default
36
khenaidoo9a468962018-09-19 15:33:13 -040037 adapter_ponsim_onu:
38 image: "${REGISTRY}${REPOSITORY}voltha-adapter-ponsim-onu${TAG}"
khenaidoob9203542018-09-17 22:56:37 -040039 logging:
40 driver: "json-file"
41 options:
42 max-size: "10m"
43 max-file: "3"
44 command: [
khenaidoofdbad6e2018-11-06 22:26:38 -050045 "/voltha/python/adapters/ponsim_onu/main.py",
khenaidoob9203542018-09-17 22:56:37 -040046 "-v",
47 "--name=ponsim_onu",
Richard Jankowski55f75db2018-10-22 16:07:51 -040048 "--kafka_adapter=${DOCKER_HOST_IP}:9092",
49 "--kafka_cluster=${DOCKER_HOST_IP}:9092",
khenaidoob9203542018-09-17 22:56:37 -040050 "--core_topic=rwcore"
51 ]
52 networks:
53 - default
54
55networks:
56 default:
Zack Williams998f4422018-09-19 10:38:57 -070057 driver: bridge