blob: 2084eb06d2e68567a0d3ff2f2b5fcfc2f818368c [file] [log] [blame]
khenaidooccc42252017-07-06 23:00:49 -04001version: "3"
2services:
Sergio Slobodrianbe829272017-07-17 14:45:45 -04003 vcore:
khenaidooccc42252017-07-06 23:00:49 -04004 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 Slobodrianbe829272017-07-17 14:45:45 -040014 - --grpc-port=50556
khenaidooccc42252017-07-06 23:00:49 -040015 - --instance-id-is-container-name
16 - --interface=eth2
17 - --backend=consul
khenaidoo26a8c012017-07-07 18:25:47 -040018 - --inter-core-subnet=10.0.1.0/24
19 - --pon-subnet=10.0.1.0/24
20
khenaidooccc42252017-07-06 23:00:49 -040021 networks:
22 - net
23 ports:
24 - "8880:8880"
25 - "18880:18880"
Sergio Slobodrianbe829272017-07-17 14:45:45 -040026 - "50556:50556"
khenaidooccc42252017-07-06 23:00:49 -040027 volumes:
28 - /var/run/docker.sock:/tmp/docker.sock
29
30networks:
31 net:
khenaidoo26a8c012017-07-07 18:25:47 -040032 external:
33 name: voltha_net
34