Created
July 7, 2019 17:35
-
-
Save heffo42/8419978abe92c716b38175864dd2c9a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
runcmd: | |
- ufw allow 22/tcp | |
- ufw allow 2376/tcp | |
- ufw allow 2377/tcp | |
- ufw allow 7946/tcp | |
- ufw allow 7946/udp | |
- ufw allow 4789/udp | |
- ufw reload | |
- systemctl restart docker | |
- docker swarm join --token <token> <manager ip>:2377 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment