18 lines
339 B
Markdown
18 lines
339 B
Markdown
# docker swarm vagrant lab
|
||
norma
|
||
Przed `make up`:
|
||
|
||
```
|
||
touch join.sh
|
||
chmod +x join.sh
|
||
```
|
||
|
||
W pliku `join.sh` wprowadzamy komendy, które zostaną uruchomione przy starcie VPS np.
|
||
|
||
```
|
||
#/bin/sh
|
||
sudo docker swarm join --token SWMTKN-1-3ffnqvbldx49uhtbgs7icng2996x0bqmk3f9bkromd3yw57wbs-bipyb1fjs158eti7adq7nabpl 192.168.88.177:2377
|
||
```
|
||
|
||
|