alshabib | f97b442 | 2017-01-06 13:42:06 -0800 | [diff] [blame] | 1 | version: '2' |
| 2 | |
| 3 | services: |
| 4 | |
| 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 |
| 17 | |
| 18 | onos: |
| 19 | image: "opencord/onos" |
| 20 | ports: |
| 21 | - "8101:8101" # ssh |
| 22 | - "6653:6653" # OF |
| 23 | - "8181:8181" # UI |
| 24 | networks: |
| 25 | authnet: |
| 26 | ipv4_address: 172.25.0.200 |
| 27 | |
| 28 | freeradius-test: |
| 29 | image: "marcelmaatkamp/freeradius" |
| 30 | command: "radtest user password freeradius 0 SECRET" |
| 31 | networks: |
| 32 | authnet: |
| 33 | ipv4_address: 172.25.0.101 |
| 34 | |
| 35 | networks: |
| 36 | authnet: |
| 37 | driver: bridge |
| 38 | ipam: |
| 39 | config: |
| 40 | - subnet: 172.25.0.0/24 |