creates a server in the hetzner cloud and installs docker and docker-compose
cp terraform.tfvars.dist terraform.tfvars
- set values
- install terraform and ansible
terraform init
bash ./create
myip=`cat terraform.tfstate | jq --raw-output '.resources[].instances[].attributes | select(.name != null) | select(.name|contains("docker")) | .ipv4_address'`
ssh root@${myip}
ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no root@${myip}
terraform destroy
git clone git@github.com:jorzekowsky/dockerhetzner.git NAME