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: |
David K. Bainbridge | bba65ff | 2018-01-19 09:26:09 -0800 | [diff] [blame] | 6 | image: "${REGISTRY}marcelmaatkamp/freeradius:${RADIUS_TAG:-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" |
| 11 | volumes: |
| 12 | - "./data/clients.conf:/etc/raddb/clients.conf" |
| 13 | - "./data/users:/etc/raddb/users" |
| 14 | networks: |
| 15 | authnet: |
| 16 | ipv4_address: 172.25.0.100 |
alshabib | f97b442 | 2017-01-06 13:42:06 -0800 | [diff] [blame] | 17 | |
| 18 | onos: |
David K. Bainbridge | 737b74f | 2018-01-22 12:57:52 -0800 | [diff] [blame] | 19 | image: "${REGISTRY}${REPOSITORY}voltha-onos:${TAG:-latest}" |
alshabib | f97b442 | 2017-01-06 13:42:06 -0800 | [diff] [blame] | 20 | ports: |
| 21 | - "8101:8101" # ssh |
| 22 | - "6653:6653" # OF |
| 23 | - "8181:8181" # UI |
alshabib | 10eadcd | 2017-01-09 14:47:42 -0800 | [diff] [blame] | 24 | environment: |
| 25 | ONOS_APPS: 'drivers,openflow-base' |
alshabib | f97b442 | 2017-01-06 13:42:06 -0800 | [diff] [blame] | 26 | networks: |
| 27 | authnet: |
| 28 | ipv4_address: 172.25.0.200 |
| 29 | |
Ali Al-Shabibi | 702f4f8 | 2017-04-13 14:42:07 -0700 | [diff] [blame] | 30 | # onos_config_push: |
David K. Bainbridge | 737b74f | 2018-01-22 12:57:52 -0800 | [diff] [blame] | 31 | # image: "${REGISTRY}${REPOSITORY}onos-config-push:${TAG:-latest}" |
Ali Al-Shabibi | 702f4f8 | 2017-04-13 14:42:07 -0700 | [diff] [blame] | 32 | # environment: |
| 33 | # ONOS_CONNECTION: 'onos:8181' |
| 34 | # volumes: |
| 35 | # - "../docker/config/netcfg.json:/data/onos-config.json" |
| 36 | # networks: |
| 37 | # authnet: |
| 38 | # links: |
| 39 | # - "onos:onos" |
alshabib | a551408 | 2017-03-31 11:08:27 -0500 | [diff] [blame] | 40 | |
| 41 | # freeradius-test: |
David K. Bainbridge | bba65ff | 2018-01-19 09:26:09 -0800 | [diff] [blame] | 42 | # image: "${REGISTRY}marcelmaatkamp/freeradius:${RADIUS_TAG:-latest}" |
alshabib | a551408 | 2017-03-31 11:08:27 -0500 | [diff] [blame] | 43 | # command: "radtest user password freeradius 0 SECRET" |
| 44 | # networks: |
| 45 | # authnet: |
| 46 | # ipv4_address: 172.25.0.101 |
alshabib | f97b442 | 2017-01-06 13:42:06 -0800 | [diff] [blame] | 47 | |
| 48 | networks: |
| 49 | authnet: |
| 50 | driver: bridge |
| 51 | ipam: |
| 52 | config: |
| 53 | - subnet: 172.25.0.0/24 |