Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 498 Bytes

File metadata and controls

30 lines (20 loc) · 498 Bytes

Provisioning

Ansible playbooks for Docker Swarm cluster setup.

Set Up

Install Ansible. Create an inventory file with SSH credentials of your virtual machines by example:

cp hosts.yml.dist hosts.yml

Set up your cluster:

make cluster

Generate new deployment SSH-key and register it for deploy user:

make generate-deploy-key
make authorize-deploy

If you use private Docker registry log in to the registry from manager virtual machine:

make docker-login