khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 1 | version: "3" |
| 2 | services: |
Sergio Slobodrian | be82927 | 2017-07-17 14:45:45 -0400 | [diff] [blame] | 3 | vcore: |
khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 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 |
Sergio Slobodrian | be82927 | 2017-07-17 14:45:45 -0400 | [diff] [blame] | 14 | - --grpc-port=50556 |
khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 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" |
Sergio Slobodrian | be82927 | 2017-07-17 14:45:45 -0400 | [diff] [blame] | 26 | - "50556:50556" |
khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 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 | |