Created
August 6, 2014 02:56
-
-
Save mshmsh5000/14be576edad0ba5ef32d to your computer and use it in GitHub Desktop.
Vagrantfile with new box
This file contains 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
Vagrant.configure("2") do |config| | |
## Choose your base box | |
config.vm.box = "dosomething/drupal" | |
config.vm.provider "virtualbox" do |v| | |
v.customize ["modifyvm", :id, "--memory", 3072] | |
end | |
# SSH Agent forwarding | |
config.ssh.forward_agent = true | |
# SSHFS -- reverse mount from within Vagrant box | |
config.sshfs.paths = { "/var/www/vagrant" => "../dosomething-mount" } | |
# Bare Apache httpd (http and https) | |
config.vm.network :forwarded_port, guest: 8888, host: 8888 | |
config.vm.network :forwarded_port, guest: 8889, host: 8889 | |
config.vm.host_name = "dev.dosomething.org" | |
# With Varnish | |
config.vm.network :forwarded_port, guest: 6081, host: 9999 | |
# Tomcat with Jenkins and Solr | |
config.vm.network :forwarded_port, guest: 8080, host: 8080 | |
config.vm.provision :shell, :inline => 'more /vagrant/provision/install_complete.txt' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment