khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 1 | version: "3" |
| 2 | services: |
| 3 | voltha: |
| 4 | image: cord/voltha:latest |
| 5 | deploy: |
| 6 | replicas: 3 |
| 7 | entrypoint: |
| 8 | - voltha/voltha/main.py |
| 9 | - -v |
| 10 | - --consul=consul:8500 |
| 11 | - --fluentd=fluentd:24224 |
| 12 | - --kafka=kafka |
| 13 | - --rest-port=8880 |
| 14 | - --grpc-port=50555 |
| 15 | - --instance-id-is-container-name |
| 16 | - --interface=eth2 |
| 17 | - --backend=consul |
khenaidoo | 26a8c01 | 2017-07-07 18:25:47 -0400 | [diff] [blame] | 18 | - --inter-core-subnet=10.0.1.0/24 |
| 19 | - --pon-subnet=10.0.1.0/24 |
| 20 | |
khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 21 | networks: |
| 22 | - net |
| 23 | ports: |
| 24 | - "8880:8880" |
| 25 | - "18880:18880" |
| 26 | - "50555:50555" |
| 27 | volumes: |
| 28 | - /var/run/docker.sock:/tmp/docker.sock |
| 29 | |
| 30 | networks: |
| 31 | net: |
khenaidoo | 26a8c01 | 2017-07-07 18:25:47 -0400 | [diff] [blame] | 32 | external: |
| 33 | name: voltha_net |
| 34 | |