Created
February 22, 2015 04:40
-
-
Save rakesh-patnaik/9e3edb8354feab1aab03 to your computer and use it in GitHub Desktop.
Vagrantfile
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 : | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| # Every Vagrant virtual environment requires a box to build off of. | |
| config.vm.box = "trusty64" | |
| # set up the the network | |
| config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1" | |
| config.vm.network "forwarded_port", guest: 6080, host: 8081, host_ip: "127.0.0.1" | |
| config.vm.network "forwarded_port", guest: 8777, host: 8082, host_ip: "127.0.0.1" | |
| config.vm.network "forwarded_port", guest: 8774, host: 8083, host_ip: "127.0.0.1" | |
| config.vm.network "forwarded_port", guest: 5000, host: 8084, host_ip: "127.0.0.1" | |
| config.vm.network "forwarded_port", guest: 35357, host: 8085, host_ip: "127.0.0.1" | |
| # and the amount of memory and cpu's to use | |
| config.vm.provider "virtualbox" do |vb| | |
| vb.customize ["modifyvm", :id, "--memory", "4096"] | |
| vb.customize ["modifyvm", :id, "--cpus", "2"] | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment