sgovinda | cc73678 | 2017-05-02 20:06:37 +0530 | [diff] [blame] | 1 | version: '2' |
| 2 | services: |
| 3 | |
| 4 | voltha: |
| 5 | image: cord/voltha |
| 6 | command: [ |
| 7 | "/voltha/voltha/main.py", |
| 8 | "--rest-port=8880", |
| 9 | "--grpc-port=50555", |
| 10 | "--instance-id-is-container-name" |
| 11 | ] |
| 12 | ports: |
| 13 | - 8880:8880 |
| 14 | - 50055:50555 |
| 15 | - 18880 |
| 16 | volumes: |
| 17 | - "/var/run/docker.sock:/tmp/docker.sock" |
| 18 | # |
| 19 | # Chameleon server instance(s) |
| 20 | # |
| 21 | chameleon: |
| 22 | image: cord/chameleon |
| 23 | command: [ |
| 24 | "/chameleon/chameleon/main.py", |
| 25 | "--rest-port=8881", |
| 26 | "--grpc-endpoint=${DOCKER_HOST_IP}:50055", |
| 27 | "--instance-id-is-container-name" |
| 28 | ] |
| 29 | ports: |
| 30 | - 8881:8881 |
| 31 | volumes: |
| 32 | - "/var/run/docker.sock:/tmp/docker.sock" |
| 33 | # |
| 34 | # onos-1 |
| 35 | # |
| 36 | onos1: |
| 37 | image: onosproject/onos:1.8 |
| 38 | container_name: onos1 |
| 39 | ports: |
| 40 | - 6633:6653 |
| 41 | - 8101:8101 |
| 42 | - 8181:8181 |
| 43 | environment: |
| 44 | ONOS_APPS: drivers,openflow |
| 45 | volumes: |
| 46 | - "/var/run/docker.sock:/tmp/docker.sock" |
| 47 | restart: unless-stopped |
| 48 | |
| 49 | # |
| 50 | # onos-2 |
| 51 | # |
| 52 | onos2: |
| 53 | image: onosproject/onos:1.8 |
| 54 | container_name: onos2 |
| 55 | ports: |
| 56 | - 6644:6653 |
| 57 | - 8102:8101 |
| 58 | - 8182:8181 |
| 59 | environment: |
| 60 | ONOS_APPS: drivers,openflow |
| 61 | volumes: |
| 62 | - "/var/run/docker.sock:/tmp/docker.sock" |
| 63 | restart: unless-stopped |
| 64 | |
| 65 | # |
| 66 | # onos-3 |
| 67 | # |
| 68 | onos3: |
| 69 | image: onosproject/onos:1.8 |
| 70 | container_name: onos3 |
| 71 | ports: |
| 72 | - 6655:6653 |
| 73 | - 8103:8101 |
| 74 | - 8183:8181 |
| 75 | environment: |
| 76 | ONOS_APPS: drivers,openflow |
| 77 | volumes: |
| 78 | - "/var/run/docker.sock:/tmp/docker.sock" |
| 79 | restart: unless-stopped |
| 80 | # |
| 81 | # ofagent server instance |
| 82 | # |
| 83 | ofagent: |
| 84 | image: cord/ofagent |
| 85 | command: /ofagent/ofagent/main.py --grpc-endpoint=${DOCKER_HOST_IP}:50055 --controller ${DOCKER_HOST_IP}:6633 ${DOCKER_HOST_IP}:6644 ${DOCKER_HOST_IP}:6655 |
| 86 | depends_on: |
| 87 | - voltha |
| 88 | volumes: |
| 89 | - "/var/run/docker.sock:/tmp/docker.sock" |
| 90 | restart: unless-stopped |