blob: 2e399c4586c463818dd2eeeb6ac8481a31b02d2b [file] [log] [blame]
Zack Williams41513bf2018-07-07 20:08:35 -07001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
alshabibf97b4422017-01-06 13:42:06 -080014version: '2'
15
16services:
17
Ali Al-Shabibi702f4f82017-04-13 14:42:07 -070018 freeradius:
khenaidoo6e059782018-04-18 15:27:59 -040019 image: "${REGISTRY}tpdock/freeradius:latest"
Ali Al-Shabibi702f4f82017-04-13 14:42:07 -070020 ports:
21 - "1812:1812/udp"
22 - "1813:1813"
23 - "18120:18120"
khenaidoo6e059782018-04-18 15:27:59 -040024 environment:
25 RADIUS_LISTEN_IP: '*'
26 USERS_FILE: '/etc/raddb/users'
27 RADIUS_CLIENTS : 'SECRET@172.25.0.200'
Ali Al-Shabibi702f4f82017-04-13 14:42:07 -070028 volumes:
Ali Al-Shabibi702f4f82017-04-13 14:42:07 -070029 - "./data/users:/etc/raddb/users"
30 networks:
31 authnet:
32 ipv4_address: 172.25.0.100
alshabibf97b4422017-01-06 13:42:06 -080033
khenaidoo6e059782018-04-18 15:27:59 -040034
alshabibf97b4422017-01-06 13:42:06 -080035 onos:
khenaidoo6e059782018-04-18 15:27:59 -040036 image: "${REGISTRY}${REPOSITORY}voltha-onos:latest"
alshabibf97b4422017-01-06 13:42:06 -080037 ports:
38 - "8101:8101" # ssh
39 - "6653:6653" # OF
40 - "8181:8181" # UI
alshabib10eadcd2017-01-09 14:47:42 -080041 environment:
42 ONOS_APPS: 'drivers,openflow-base'
alshabibf97b4422017-01-06 13:42:06 -080043 networks:
44 authnet:
45 ipv4_address: 172.25.0.200
46
Ali Al-Shabibi702f4f82017-04-13 14:42:07 -070047# onos_config_push:
David K. Bainbridge10a7a7e2018-01-29 09:54:40 -080048# image: "${REGISTRY}${REPOSITORY}voltha-config-push:${TAG:-latest}"
Ali Al-Shabibi702f4f82017-04-13 14:42:07 -070049# environment:
50# ONOS_CONNECTION: 'onos:8181'
51# volumes:
52# - "../docker/config/netcfg.json:/data/onos-config.json"
53# networks:
54# authnet:
55# links:
56# - "onos:onos"
alshabiba5514082017-03-31 11:08:27 -050057
58# freeradius-test:
David K. Bainbridgebba65ff2018-01-19 09:26:09 -080059# image: "${REGISTRY}marcelmaatkamp/freeradius:${RADIUS_TAG:-latest}"
alshabiba5514082017-03-31 11:08:27 -050060# command: "radtest user password freeradius 0 SECRET"
61# networks:
62# authnet:
63# ipv4_address: 172.25.0.101
alshabibf97b4422017-01-06 13:42:06 -080064
65networks:
66 authnet:
67 driver: bridge
68 ipam:
69 config:
70 - subnet: 172.25.0.0/24