Created
August 4, 2017 16:47
-
-
Save herpiko/bd422894c0bb509b8deaa7bc1f98abe1 to your computer and use it in GitHub Desktop.
Orcinus deploy script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IP=$1 | |
docker service rm $(docker service ls -q) | |
docker rm $(docker ps -aq) | |
yes | docker network prune | |
docker swarm leave --force | |
orcinus cluster init $IP | |
docker network create --driver overlay orcinus | |
cd orcinus/deploy/dashboard | |
orcinus create | |
cd ../../.. | |
cd orcinus/deploy/db | |
orcinus create | |
cd ../../.. | |
cd orcinus/deploy/repository-custom | |
orcinus create | |
cd ../../.. | |
cd orcinus/deploy/webserver | |
orcinus create | |
cd ../../.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment