Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesTurland committed Dec 17, 2023
1 parent b644046 commit 8c23f4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Docker-Swarm/swarm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ interface=eth0
allmanagers=($manager1 $manager2 $manager3)

# Array of extra managers
$managers=($manager2 $manager3)
managers=($manager2 $manager3)

# Array of worker nodes
workers=($worker1 $worker2)
Expand Down Expand Up @@ -171,7 +171,7 @@ done
# OPTIONAL #
# Step 7: Add Portainer
ssh -tt $user@$manager1 -i ~/.ssh/$certName sudo su <<EOF
curl -L https://downloads.portainer.io/ce2-19/portainer-agent-stack.yml -o portainer-agent-stack.yml
curl -L https://raw.githubusercontent.com/JamesTurland/JimsGarage/main/Docker-Swarm/portainer-agent-stack.yml -o portainer-agent-stack.yml
docker stack deploy -c portainer-agent-stack.yml portainer
docker node ls
docker service ls
Expand Down

0 comments on commit 8c23f4d

Please sign in to comment.