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