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: |
David K. Bainbridge | 737b74f | 2018-01-22 12:57:52 -0800 | [diff] [blame] | 4 | image: "${REGISTRY}${REPOSITORY}voltha-voltha:${TAG:-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 |
Jonathan Hart | 87314cd | 2018-02-12 17:15:35 -0800 | [diff] [blame] | 15 | - --consul=vconsul:8500 |
khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 16 | - --kafka=kafka |
| 17 | - --rest-port=8880 |
Sergio Slobodrian | be82927 | 2017-07-17 14:45:45 -0400 | [diff] [blame] | 18 | - --grpc-port=50556 |
khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 19 | - --instance-id-is-container-name |
| 20 | - --interface=eth2 |
| 21 | - --backend=consul |
Sergio Slobodrian | 6570c74 | 2017-08-07 23:11:33 -0400 | [diff] [blame] | 22 | - --inter-core-subnet=172.29.19.0/24 |
| 23 | - --pon-subnet=172.29.19.0/24 |
khenaidoo | 26a8c01 | 2017-07-07 18:25:47 -0400 | [diff] [blame] | 24 | |
khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 25 | networks: |
| 26 | - net |
| 27 | ports: |
| 28 | - "8880:8880" |
| 29 | - "18880:18880" |
Sergio Slobodrian | be82927 | 2017-07-17 14:45:45 -0400 | [diff] [blame] | 30 | - "50556:50556" |
khenaidoo | ccc4225 | 2017-07-06 23:00:49 -0400 | [diff] [blame] | 31 | volumes: |
| 32 | - /var/run/docker.sock:/tmp/docker.sock |
| 33 | |
| 34 | networks: |
| 35 | net: |
khenaidoo | 26a8c01 | 2017-07-07 18:25:47 -0400 | [diff] [blame] | 36 | external: |
| 37 | name: voltha_net |
| 38 | |