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