-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed2445b
commit 87ec0de
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
echo "pull images" | ||
docker pull sphinxlightning/sphinx-broker:latest | ||
docker pull sphinxlightning/sphinx-mixer:latest | ||
docker pull sphinxlightning/sphinx-swarm:latest | ||
docker pull sphinxlightning/sphinx-tribes-v2:latest | ||
|
||
echo "stop swarm.sphinx" | ||
docker stop swarm.sphinx | ||
docker rm swarm.sphinx | ||
./pull.sh | ||
|
||
echo "stop $1.sphinx" | ||
docker stop $1.sphinx | ||
docker rm $1.sphinx | ||
|
||
echo "start sphinxv2" | ||
docker-compose -f sphinxv2.yml up swarm.sphinx -d | ||
docker logs swarm.sphinx --follow |