Vagrant Installation Notes
-
Download and install VirtualBox.
-
Download and install Vagrant.
-
Clone Dokku.
-
Create VM.
-
Setup SSH Config in
~/.ssh/config.For users that have customized the IP address of their VM - either in a custom
Vagrantfileor via theDOKKU_IPenvironment variable - and are not using10.0.0.2for the Vagrant IP, you'll need to instead use the output ofvagrant ssh-config dokkufor your~/.ssh/configentry. -
Connect to the server and add your ssh key to the install. Additionally, set the global domain name to
dokku.me.# usually your key is already available under the current user's `~/.ssh/authorized_keys` file cat ~/.ssh/authorized_keys | dokku ssh-keys:add admin # you can use any domain you already have access to dokku domains:set-global dokku.mePlease note, the
dokku.medomain is setup to point to10.0.0.2along with all subdomains (i.e.yourapp.dokku.me). If you change theDOKKU_IPin your Vagrant setup you'll need to update your/etc/hostsfile to point your reconfigured IP address.
You are now ready to deploy an app or install plugins.