Created
September 6, 2014 03:45
-
-
Save Luukyb/1e77f80052f924a3988e to your computer and use it in GitHub Desktop.
Minimal Vagrantfile for Drupal. Box + IP + Memory + File Permission
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.network "forwarded_port", guest: 80, host: 8080 | |
config.vm.network "private_network", ip: "192.168.33.137" | |
config.vm.synced_folder "data", "/var/www/html", owner: "vagrant", group: "www-data", mount_options: ["dmode=775,fmode=664"] | |
config.vm.provider "virtualbox" do |vb| | |
vb.customize ["modifyvm", :id, "--memory", "1024"] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment