blob: be078e3cd71009c9cf77997cb09d8773b094d6d4 [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
Sergio Slobodrianbe829272017-07-17 14:45:45 -04008docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-voltha-swarm.yml vcore
9docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-envoy-swarm.yml voltha
Sergio Slobodriancab0a392017-07-13 08:42:10 -040010docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-vcli.yml cli
11docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-chameleon-swarm.yml chameleon
12docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-netconf-swarm.yml netconf
13docker service create -d --name tools --network voltha_net --network kafka_net --publish "4022:22" voltha/tools
14