blob: 71245f1e57046783d39e59d4d9746285cab6c35c [file] [log] [blame]
#!/bin/bash
voltha_base_dir="/cord/incubator/voltha"
docker network create --driver overlay --subnet=10.0.1.0/24 --opt encrypted=true voltha_net
docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-kafka-cluster.yml kafka
docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-consul-cluster.yml consul
docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-voltha-swarm.yml voltha
docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-vcli.yml cli
docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-chameleon-swarm.yml chameleon
docker stack deploy -c ${voltha_base_dir}/compose/docker-compose-netconf-swarm.yml netconf
docker service create -d --name tools --network voltha_net --network kafka_net --publish "4022:22" voltha/tools