blob: 2084eb06d2e68567a0d3ff2f2b5fcfc2f818368c [file] [log] [blame]
version: "3"
services:
vcore:
image: cord/voltha:latest
deploy:
replicas: 3
entrypoint:
- voltha/voltha/main.py
- -v
- --consul=consul:8500
- --fluentd=fluentd:24224
- --kafka=kafka
- --rest-port=8880
- --grpc-port=50556
- --instance-id-is-container-name
- --interface=eth2
- --backend=consul
- --inter-core-subnet=10.0.1.0/24
- --pon-subnet=10.0.1.0/24
networks:
- net
ports:
- "8880:8880"
- "18880:18880"
- "50556:50556"
volumes:
- /var/run/docker.sock:/tmp/docker.sock
networks:
net:
external:
name: voltha_net