blob: cbbe31917013a3fba9eb1577bfeb6bf36f513bc4 [file] [log] [blame]
version: "3"
services:
vcore:
image: "${REGISTRY}voltha/voltha:${TAG:-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