Zack Williams | 41513bf | 2018-07-07 20:08:35 -0700 | [diff] [blame] | 1 | # 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. |
alshabib | f97b442 | 2017-01-06 13:42:06 -0800 | [diff] [blame] | 14 | version: '2' |
| 15 | |
| 16 | services: |
| 17 | |
Ali Al-Shabibi | 702f4f8 | 2017-04-13 14:42:07 -0700 | [diff] [blame] | 18 | freeradius: |
khenaidoo | 6e05978 | 2018-04-18 15:27:59 -0400 | [diff] [blame] | 19 | image: "${REGISTRY}tpdock/freeradius:latest" |
Ali Al-Shabibi | 702f4f8 | 2017-04-13 14:42:07 -0700 | [diff] [blame] | 20 | ports: |
| 21 | - "1812:1812/udp" |
| 22 | - "1813:1813" |
| 23 | - "18120:18120" |
khenaidoo | 6e05978 | 2018-04-18 15:27:59 -0400 | [diff] [blame] | 24 | environment: |
| 25 | RADIUS_LISTEN_IP: '*' |
| 26 | USERS_FILE: '/etc/raddb/users' |
| 27 | RADIUS_CLIENTS : 'SECRET@172.25.0.200' |
Ali Al-Shabibi | 702f4f8 | 2017-04-13 14:42:07 -0700 | [diff] [blame] | 28 | volumes: |
Ali Al-Shabibi | 702f4f8 | 2017-04-13 14:42:07 -0700 | [diff] [blame] | 29 | - "./data/users:/etc/raddb/users" |
| 30 | networks: |
| 31 | authnet: |
| 32 | ipv4_address: 172.25.0.100 |
alshabib | f97b442 | 2017-01-06 13:42:06 -0800 | [diff] [blame] | 33 | |
khenaidoo | 6e05978 | 2018-04-18 15:27:59 -0400 | [diff] [blame] | 34 | |
alshabib | f97b442 | 2017-01-06 13:42:06 -0800 | [diff] [blame] | 35 | onos: |
khenaidoo | 6e05978 | 2018-04-18 15:27:59 -0400 | [diff] [blame] | 36 | image: "${REGISTRY}${REPOSITORY}voltha-onos:latest" |
alshabib | f97b442 | 2017-01-06 13:42:06 -0800 | [diff] [blame] | 37 | ports: |
| 38 | - "8101:8101" # ssh |
| 39 | - "6653:6653" # OF |
| 40 | - "8181:8181" # UI |
alshabib | 10eadcd | 2017-01-09 14:47:42 -0800 | [diff] [blame] | 41 | environment: |
| 42 | ONOS_APPS: 'drivers,openflow-base' |
alshabib | f97b442 | 2017-01-06 13:42:06 -0800 | [diff] [blame] | 43 | networks: |
| 44 | authnet: |
| 45 | ipv4_address: 172.25.0.200 |
| 46 | |
Ali Al-Shabibi | 702f4f8 | 2017-04-13 14:42:07 -0700 | [diff] [blame] | 47 | # onos_config_push: |
David K. Bainbridge | 10a7a7e | 2018-01-29 09:54:40 -0800 | [diff] [blame] | 48 | # image: "${REGISTRY}${REPOSITORY}voltha-config-push:${TAG:-latest}" |
Ali Al-Shabibi | 702f4f8 | 2017-04-13 14:42:07 -0700 | [diff] [blame] | 49 | # 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" |
alshabib | a551408 | 2017-03-31 11:08:27 -0500 | [diff] [blame] | 57 | |
| 58 | # freeradius-test: |
David K. Bainbridge | bba65ff | 2018-01-19 09:26:09 -0800 | [diff] [blame] | 59 | # image: "${REGISTRY}marcelmaatkamp/freeradius:${RADIUS_TAG:-latest}" |
alshabib | a551408 | 2017-03-31 11:08:27 -0500 | [diff] [blame] | 60 | # command: "radtest user password freeradius 0 SECRET" |
| 61 | # networks: |
| 62 | # authnet: |
| 63 | # ipv4_address: 172.25.0.101 |
alshabib | f97b442 | 2017-01-06 13:42:06 -0800 | [diff] [blame] | 64 | |
| 65 | networks: |
| 66 | authnet: |
| 67 | driver: bridge |
| 68 | ipam: |
| 69 | config: |
| 70 | - subnet: 172.25.0.0/24 |