mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 23:40:19 +00:00
update
This commit is contained in:
parent
b644046889
commit
8c23f4d1cb
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ interface=eth0
|
||||||
allmanagers=($manager1 $manager2 $manager3)
|
allmanagers=($manager1 $manager2 $manager3)
|
||||||
|
|
||||||
# Array of extra managers
|
# Array of extra managers
|
||||||
$managers=($manager2 $manager3)
|
managers=($manager2 $manager3)
|
||||||
|
|
||||||
# Array of worker nodes
|
# Array of worker nodes
|
||||||
workers=($worker1 $worker2)
|
workers=($worker1 $worker2)
|
||||||
|
@ -171,7 +171,7 @@ done
|
||||||
# OPTIONAL #
|
# OPTIONAL #
|
||||||
# Step 7: Add Portainer
|
# Step 7: Add Portainer
|
||||||
ssh -tt $user@$manager1 -i ~/.ssh/$certName sudo su <<EOF
|
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 stack deploy -c portainer-agent-stack.yml portainer
|
||||||
docker node ls
|
docker node ls
|
||||||
docker service ls
|
docker service ls
|
||||||
|
|
Loading…
Reference in a new issue