blob: 71245f1e57046783d39e59d4d9746285cab6c35c [file] [log] [blame]
Sergio Slobodriancab0a392017-07-13 08:42:10 -04001#!/bin/bash
2
3voltha_base_dir="/cord/incubator/voltha"
4
5docker network create --driver overlay --subnet=10.0.1.0/24 --opt encrypted=true voltha_net
6docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-kafka-cluster.yml kafka
7docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-consul-cluster.yml consul
8docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-voltha-swarm.yml voltha
9docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-vcli.yml cli
10docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-chameleon-swarm.yml chameleon
11docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-netconf-swarm.yml netconf
12docker service create -d --name tools --network voltha_net --network kafka_net --publish "4022:22" voltha/tools
13