blob: accadeb213004524969455d2100b602ae3bd26aa [file] [log] [blame]
Zack Williams41513bf2018-07-07 20:08:35 -07001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
khenaidooccc42252017-07-06 23:00:49 -040014version: "3"
15services:
Sergio Slobodrianbe829272017-07-17 14:45:45 -040016 vcore:
David K. Bainbridge737b74f2018-01-22 12:57:52 -080017 image: "${REGISTRY}${REPOSITORY}voltha-voltha:${TAG:-latest}"
David K. Bainbridge4e920b72017-10-12 07:49:14 -070018 logging:
19 driver: "json-file"
20 options:
21 max-size: "10m"
22 max-file: 3
khenaidooccc42252017-07-06 23:00:49 -040023 deploy:
24 replicas: 3
25 entrypoint:
26 - voltha/voltha/main.py
27 - -v
Jonathan Hart87314cd2018-02-12 17:15:35 -080028 - --consul=vconsul:8500
khenaidooccc42252017-07-06 23:00:49 -040029 - --kafka=kafka
30 - --rest-port=8880
Sergio Slobodrianbe829272017-07-17 14:45:45 -040031 - --grpc-port=50556
khenaidooccc42252017-07-06 23:00:49 -040032 - --instance-id-is-container-name
33 - --interface=eth2
34 - --backend=consul
Sergio Slobodrian6570c742017-08-07 23:11:33 -040035 - --inter-core-subnet=172.29.19.0/24
36 - --pon-subnet=172.29.19.0/24
khenaidoo26a8c012017-07-07 18:25:47 -040037
khenaidooccc42252017-07-06 23:00:49 -040038 networks:
39 - net
40 ports:
41 - "8880:8880"
42 - "18880:18880"
Sergio Slobodrianbe829272017-07-17 14:45:45 -040043 - "50556:50556"
khenaidooccc42252017-07-06 23:00:49 -040044 volumes:
45 - /var/run/docker.sock:/tmp/docker.sock
46
47networks:
48 net:
khenaidoo26a8c012017-07-07 18:25:47 -040049 external:
50 name: voltha_net
51