blob: c842639b82b281a28328a83857b97d339e84e6d1 [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
2{#
3Copyright 2017-present Open Networking Foundation
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16#}
17
18
Scott Baker58e88a82016-11-18 13:39:09 -080019# ONOS with XOS features for docker-compose
20version: '2'
21
22services:
23
24 xos-onos:
Jonathan Hart2a3c01e2017-01-13 17:32:27 -080025 image: {{ onos_docker_image }}
Scott Baker58e88a82016-11-18 13:39:09 -080026 ports:
David K. Bainbridgedf88fd92017-01-03 09:39:49 -080027 - "6653:6653" # OpenFlow
28 - "8101:8101" # ONOS SSH
29 - "8181:8181" # ONOS UI/API
30 - "9876:9876" # ONOS Clustering
31 - "2620:2620" # vRouter
Andy Baviere6e915c2017-03-28 17:19:06 -040032 restart: unless-stopped
Scott Baker58e88a82016-11-18 13:39:09 -080033