You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by tv...@apache.org on 2014/01/02 21:23:23 UTC
[09/14] git commit: [#5424] forward ports for SCM services
[#5424] forward ports for SCM services
Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/8666d130
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/8666d130
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/8666d130
Branch: refs/heads/master
Commit: 8666d13034a849bae6c5be2edf0b61f148dd707c
Parents: ea26b2a
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Thu Dec 12 15:30:55 2013 -0500
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Thu Jan 2 20:22:34 2014 +0000
----------------------------------------------------------------------
vagrant/Vagrantfile | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/8666d130/vagrant/Vagrantfile
----------------------------------------------------------------------
diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile
index 7572922..44c21c9 100644
--- a/vagrant/Vagrantfile
+++ b/vagrant/Vagrantfile
@@ -33,9 +33,17 @@ Vagrant.configure("2") do |config|
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
- config.vm.network :forwarded_port, guest: 8080, host: 8080
- config.vm.network :forwarded_port, guest: 8983, host: 8983
-
+ # allura
+ config.vm.network :forwarded_port, guest: 8080, host: 8080, auto_correct: true
+ # solr
+ config.vm.network :forwarded_port, guest: 8983, host: 8983, auto_correct: true
+ # HTTP (svn or git or other)
+ config.vm.network :forwarded_port, guest: 80, host: 8088, auto_correct: true
+ # SVN
+ config.vm.network :forwarded_port, guest: 3690, host: 3690, auto_correct: true
+ # GIT readonly
+ config.vm.network :forwarded_port, guest: 9418, host: 9418, auto_correct: true
+
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network :private_network, ip: "192.168.33.10"
@@ -58,7 +66,7 @@ Vagrant.configure("2") do |config|
config.vm.provider :virtualbox do |vb|
# Don't boot with headless mode
# vb.gui = true
-
+
# Use VBoxManage to customize the VM. For example to change memory:
vb.customize ["modifyvm", :id, "--memory", "1024"]
end