Commit ac9ca554db73b48af2293601804385295d0ee3f8
1 parent
618e5b4e
Exists in
master
and in
13 other branches
Removed old port forwards
Showing
1 changed file
with
8 additions
and
18 deletions
Show diff stats
Vagrantfile
| @@ -30,18 +30,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | @@ -30,18 +30,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | ||
| 30 | colab.vm.box_url = "https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box" | 30 | colab.vm.box_url = "https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box" |
| 31 | end | 31 | end |
| 32 | 32 | ||
| 33 | - colab.vm.network :forwarded_port, guest: 80, host: 8080 | ||
| 34 | - colab.vm.network :forwarded_port, guest: 8000, host: 8000 | ||
| 35 | - colab.vm.network :forwarded_port, guest: 5280, host: 5280 | ||
| 36 | - colab.vm.network :forwarded_port, guest: 8080, host: 8081 | ||
| 37 | - colab.vm.network :forwarded_port, guest: 8983, host: 8983 | ||
| 38 | - | ||
| 39 | - colab.vm.network "private_network", ip: "192.168.33.10" | ||
| 40 | - | ||
| 41 | - colab.vm.provider "virtualbox" do |vb| | ||
| 42 | - # Use VBoxManage to customize the VM. For example to change memory: | ||
| 43 | - vb.customize ["modifyvm", :id, "--memory", "1024"] | ||
| 44 | - end | 33 | + colab.vm.network :forwarded_port, guest: 8000, host: 8000 # Colab (runserver) |
| 34 | + colab.vm.network :forwarded_port, guest: 5280, host: 5280 # BOSH server | ||
| 35 | + colab.vm.network :forwarded_port, guest: 8983, host: 8983 # Solr | ||
| 45 | 36 | ||
| 46 | end | 37 | end |
| 47 | 38 | ||
| @@ -73,19 +64,18 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | @@ -73,19 +64,18 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | ||
| 73 | # the path on the guest to mount the folder. And the optional third | 64 | # the path on the guest to mount the folder. And the optional third |
| 74 | # argument is a set of non-required options. | 65 | # argument is a set of non-required options. |
| 75 | # config.vm.synced_folder "../data", "/vagrant_data" | 66 | # config.vm.synced_folder "../data", "/vagrant_data" |
| 76 | - config.vm.synced_folder ".", "/vagrant", type: "nfs" | ||
| 77 | 67 | ||
| 78 | # Provider-specific configuration so you can fine-tune various | 68 | # Provider-specific configuration so you can fine-tune various |
| 79 | # backing providers for Vagrant. These expose provider-specific options. | 69 | # backing providers for Vagrant. These expose provider-specific options. |
| 80 | # Example for VirtualBox: | 70 | # Example for VirtualBox: |
| 81 | # | 71 | # |
| 82 | - # config.vm.provider "virtualbox" do |vb| | 72 | + config.vm.provider "virtualbox" do |vb| |
| 83 | # # Don't boot with headless mode | 73 | # # Don't boot with headless mode |
| 84 | # vb.gui = true | 74 | # vb.gui = true |
| 85 | - # | ||
| 86 | - # # Use VBoxManage to customize the VM. For example to change memory: | ||
| 87 | - # vb.customize ["modifyvm", :id, "--memory", "1024"] | ||
| 88 | - # end | 75 | + |
| 76 | + # Use VBoxManage to customize the VM. For example to change memory: | ||
| 77 | + vb.customize ["modifyvm", :id, "--memory", "1024"] | ||
| 78 | + end | ||
| 89 | # | 79 | # |
| 90 | # View the documentation for the provider you're using for more | 80 | # View the documentation for the provider you're using for more |
| 91 | # information on available options. | 81 | # information on available options. |