Last active
October 26, 2016 11:23
-
-
Save rorlab/ef662fce2460c08eefe1 to your computer and use it in GitHub Desktop.
Vagrantfile for Developing Rails Applications
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "bento/ubuntu-16.04" | |
config.vm.network "forwarded_port", guest: 3000, host: 9000, auto_correct: true | |
config.vm.network "forwarded_port", guest: 80, host: 8080, auto_correct: true | |
# config.vm.network "private_network", ip: "192.168.33.10" | |
config.vm.provider "virtualbox" do | vb | | |
# vb.name = "RORLAB DEV Vagrant" | |
vb.customize ["modifyvm", :id, "--memory", "1024"] | |
end | |
config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'" | |
config.vm.provision :shell, privileged: false, path: 'https://gist.githubusercontent.com/rorlab/9e52461a78592d00e6ca/raw/45ca51ba0a11c512895b5677a1b3be96111ffcf9/setup.sh' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've just updated the box and provision path.