Created
October 16, 2015 20:33
-
-
Save gfargo/a71139a7c035e0686012 to your computer and use it in GitHub Desktop.
Basic Template for Digital Ocean as Vagrant Provider - Deploy Droplet with Vagrant
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
#### | |
# Digital Ocean Provider | |
# | |
# Update 'provider.token' to API Key given by Digital Ocean | |
# | |
#### | |
config.vm.provider :digital_ocean do |provider, override| | |
# Add path to SSH key for Digital Ocean | |
override.ssh.private_key_path = 'path/to/ssh/key/id_rsa' | |
# Name the Box | |
override.vm.box = 'box_name' | |
# Box URL | |
override.vm.box_url = 'https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box' | |
provider.token = 'xxxxxxxxxxxxxxxx' | |
# Droplet Image | |
provider.image = 'ubuntu-14-04-x64' | |
# Zone Information | |
provider.region = 'nyc2' | |
# Droplet Ram | |
provider.size = '512mb' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment