blob: da0e60f1379df7435394cd6b816d7abf4da7ad64 [file] [log] [blame]
alshabibf97b4422017-01-06 13:42:06 -08001version: '2'
2
3services:
4
Ali Al-Shabibi702f4f82017-04-13 14:42:07 -07005 freeradius:
khenaidoo6e059782018-04-18 15:27:59 -04006 image: "${REGISTRY}tpdock/freeradius:latest"
Ali Al-Shabibi702f4f82017-04-13 14:42:07 -07007 ports:
8 - "1812:1812/udp"
9 - "1813:1813"
10 - "18120:18120"
khenaidoo6e059782018-04-18 15:27:59 -040011 environment:
12 RADIUS_LISTEN_IP: '*'
13 USERS_FILE: '/etc/raddb/users'
14 RADIUS_CLIENTS : 'SECRET@172.25.0.200'
Ali Al-Shabibi702f4f82017-04-13 14:42:07 -070015 volumes:
Ali Al-Shabibi702f4f82017-04-13 14:42:07 -070016 - "./data/users:/etc/raddb/users"
17 networks:
18 authnet:
19 ipv4_address: 172.25.0.100
alshabibf97b4422017-01-06 13:42:06 -080020
khenaidoo6e059782018-04-18 15:27:59 -040021
alshabibf97b4422017-01-06 13:42:06 -080022 onos:
khenaidoo6e059782018-04-18 15:27:59 -040023 image: "${REGISTRY}${REPOSITORY}voltha-onos:latest"
alshabibf97b4422017-01-06 13:42:06 -080024 ports:
25 - "8101:8101" # ssh
26 - "6653:6653" # OF
27 - "8181:8181" # UI
alshabib10eadcd2017-01-09 14:47:42 -080028 environment:
29 ONOS_APPS: 'drivers,openflow-base'
alshabibf97b4422017-01-06 13:42:06 -080030 networks:
31 authnet:
32 ipv4_address: 172.25.0.200
33
Ali Al-Shabibi702f4f82017-04-13 14:42:07 -070034# onos_config_push:
David K. Bainbridge10a7a7e2018-01-29 09:54:40 -080035# image: "${REGISTRY}${REPOSITORY}voltha-config-push:${TAG:-latest}"
Ali Al-Shabibi702f4f82017-04-13 14:42:07 -070036# environment:
37# ONOS_CONNECTION: 'onos:8181'
38# volumes:
39# - "../docker/config/netcfg.json:/data/onos-config.json"
40# networks:
41# authnet:
42# links:
43# - "onos:onos"
alshabiba5514082017-03-31 11:08:27 -050044
45# freeradius-test:
David K. Bainbridgebba65ff2018-01-19 09:26:09 -080046# image: "${REGISTRY}marcelmaatkamp/freeradius:${RADIUS_TAG:-latest}"
alshabiba5514082017-03-31 11:08:27 -050047# command: "radtest user password freeradius 0 SECRET"
48# networks:
49# authnet:
50# ipv4_address: 172.25.0.101
alshabibf97b4422017-01-06 13:42:06 -080051
52networks:
53 authnet:
54 driver: bridge
55 ipam:
56 config:
57 - subnet: 172.25.0.0/24