blob: 3e30236019e6e992e07cf06876ee34eddf2c85e3 [file] [log] [blame]
khenaidooccc42252017-07-06 23:00:49 -04001version: "3"
2services:
Sergio Slobodrianbe829272017-07-17 14:45:45 -04003 vcore:
David K. Bainbridge737b74f2018-01-22 12:57:52 -08004 image: "${REGISTRY}${REPOSITORY}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
Jonathan Hart87314cd2018-02-12 17:15:35 -080015 - --consul=vconsul:8500
khenaidooccc42252017-07-06 23:00:49 -040016 - --kafka=kafka
17 - --rest-port=8880
Sergio Slobodrianbe829272017-07-17 14:45:45 -040018 - --grpc-port=50556
khenaidooccc42252017-07-06 23:00:49 -040019 - --instance-id-is-container-name
20 - --interface=eth2
21 - --backend=consul
Sergio Slobodrian6570c742017-08-07 23:11:33 -040022 - --inter-core-subnet=172.29.19.0/24
23 - --pon-subnet=172.29.19.0/24
khenaidoo26a8c012017-07-07 18:25:47 -040024
khenaidooccc42252017-07-06 23:00:49 -040025 networks:
26 - net
27 ports:
28 - "8880:8880"
29 - "18880:18880"
Sergio Slobodrianbe829272017-07-17 14:45:45 -040030 - "50556:50556"
khenaidooccc42252017-07-06 23:00:49 -040031 volumes:
32 - /var/run/docker.sock:/tmp/docker.sock
33
34networks:
35 net:
khenaidoo26a8c012017-07-07 18:25:47 -040036 external:
37 name: voltha_net
38