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 |
David K. Bainbridge | 4e920b7 | 2017-10-12 07:49:14 -0700 | [diff] [blame] | 5 | logging: |
| 6 | driver: "json-file" |
| 7 | options: |
| 8 | max-size: "10m" |
| 9 | max-file: 3 |
khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 10 | deploy: |
| 11 | replicas: 3 |
| 12 | entrypoint: |
| 13 | - voltha/voltha/main.py |
| 14 | - -v |
| 15 | - --consul=consul:8500 |
| 16 | - --fluentd=fluentd:24224 |
| 17 | - --kafka=kafka |
| 18 | - --rest-port=8880 |
Sergio Slobodrian | be82927 | 2017-07-17 14:45:45 -0400 | [diff] [blame] | 19 | - --grpc-port=50556 |
khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 20 | - --instance-id-is-container-name |
| 21 | - --interface=eth2 |
| 22 | - --backend=consul |
Sergio Slobodrian | 6570c74 | 2017-08-07 23:11:33 -0400 | [diff] [blame] | 23 | - --inter-core-subnet=172.29.19.0/24 |
| 24 | - --pon-subnet=172.29.19.0/24 |
khenaidoo | 26a8c01 | 2017-07-07 18:25:47 -0400 | [diff] [blame] | 25 | |
khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 26 | networks: |
| 27 | - net |
| 28 | ports: |
| 29 | - "8880:8880" |
| 30 | - "18880:18880" |
Sergio Slobodrian | be82927 | 2017-07-17 14:45:45 -0400 | [diff] [blame] | 31 | - "50556:50556" |
khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 32 | volumes: |
| 33 | - /var/run/docker.sock:/tmp/docker.sock |
| 34 | |
| 35 | networks: |
| 36 | net: |
khenaidoo | 26a8c01 | 2017-07-07 18:25:47 -0400 | [diff] [blame] | 37 | external: |
| 38 | name: voltha_net |
| 39 | |