blob: cbbe31917013a3fba9eb1577bfeb6bf36f513bc4 [file] [log] [blame]
khenaidooccc42252017-07-06 23:00:49 -04001version: "3"
2services:
Sergio Slobodrianbe829272017-07-17 14:45:45 -04003 vcore:
David K. Bainbridgebba65ff2018-01-19 09:26:09 -08004 image: "${REGISTRY}voltha/voltha:${TAG:-latest}"
David K. Bainbridge4e920b72017-10-12 07:49:14 -07005 logging:
6 driver: "json-file"
7 options:
8 max-size: "10m"
9 max-file: 3
khenaidooccc42252017-07-06 23:00:49 -040010 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 Slobodrianbe829272017-07-17 14:45:45 -040019 - --grpc-port=50556
khenaidooccc42252017-07-06 23:00:49 -040020 - --instance-id-is-container-name
21 - --interface=eth2
22 - --backend=consul
Sergio Slobodrian6570c742017-08-07 23:11:33 -040023 - --inter-core-subnet=172.29.19.0/24
24 - --pon-subnet=172.29.19.0/24
khenaidoo26a8c012017-07-07 18:25:47 -040025
khenaidooccc42252017-07-06 23:00:49 -040026 networks:
27 - net
28 ports:
29 - "8880:8880"
30 - "18880:18880"
Sergio Slobodrianbe829272017-07-17 14:45:45 -040031 - "50556:50556"
khenaidooccc42252017-07-06 23:00:49 -040032 volumes:
33 - /var/run/docker.sock:/tmp/docker.sock
34
35networks:
36 net:
khenaidoo26a8c012017-07-07 18:25:47 -040037 external:
38 name: voltha_net
39