vagrant-lab-swarm/README.md
2022-11-20 14:05:28 +01:00

18 lines
339 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
```