Skip to content

Commit

Permalink
fix update script
Browse files Browse the repository at this point in the history
  • Loading branch information
Evanfeenstra committed Jun 14, 2024
1 parent ed2445b commit 87ec0de
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion scripts/update.sh
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

0 comments on commit 87ec0de

Please sign in to comment.