blob: bff9f906ab8a3c28ad31f9ed05c9a1848cc4e2fe [file] [log] [blame]
version: "3"
services:
vcore:
image: cord/voltha:latest
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: 3
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=172.29.19.0/24
- --pon-subnet=172.29.19.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