Skip to content

Instantly share code, notes, and snippets.

@zekus
Created June 20, 2013 22:34
Show Gist options
  • Save zekus/5827369 to your computer and use it in GitHub Desktop.
Save zekus/5827369 to your computer and use it in GitHub Desktop.
the vagrant file to launch a Dokku test box ;)
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define :dokku do |dokku|
dokku.vm.box = "raring64"
dokku.vm.box_url = "http://cloud-images.ubuntu.com/raring/current/raring-server-cloudimg-vagrant-amd64-disk1.box"
dokku.vm.network :private_network, ip: "192.168.33.10"
dokku.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
dokku.vm.provision :shell,
:inline => "wget -qO- https://raw.github.com/progrium/dokku/master/bootstrap.sh | bash"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment