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: |
| 6 | image: "marcelmaatkamp/freeradius" |
| 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: |
alshabib | 7db1356 | 2017-01-09 21:21:34 -0800 | [diff] [blame] | 19 | image: "cord/onos" |
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: |
| 31 | # image: onos-config-push:phase2 |
| 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: |
| 42 | # image: "marcelmaatkamp/freeradius" |
| 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 |