Commit c45aacf14c0931a74d5fcce91188654d6435c4e7
1 parent
ab6ac0f3
Exists in
master
and in
39 other branches
Added forwarded ports in Vagrantfile
Showing
1 changed file
with
8 additions
and
1 deletions
Show diff stats
Vagrantfile
... | ... | @@ -33,12 +33,19 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| |
33 | 33 | colab.vm.box_url = "https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box" |
34 | 34 | end |
35 | 35 | |
36 | - colab.vm.network "forwarded_port", guest: 80, host: 80 | |
36 | + colab.vm.network :forwarded_port, guest: 80, host: 8080 | |
37 | + colab.vm.network :forwarded_port, guest: 7000, host: 8000 | |
38 | + colab.vm.network :forwarded_port, guest: 5280, host: 5280 | |
39 | + colab.vm.network :forwarded_port, guest: 8080, host: 8081 | |
40 | + colab.vm.network :forwarded_port, guest: 8983, host: 8983 | |
41 | + | |
37 | 42 | colab.vm.network "private_network", ip: "192.168.33.10" |
43 | + | |
38 | 44 | colab.vm.provider "virtualbox" do |vb| |
39 | 45 | # Use VBoxManage to customize the VM. For example to change memory: |
40 | 46 | vb.customize ["modifyvm", :id, "--memory", "1024"] |
41 | 47 | end |
48 | + | |
42 | 49 | end |
43 | 50 | |
44 | 51 | # Disable automatic box update checking. If you disable this, then | ... | ... |