Skip to content

Instantly share code, notes, and snippets.

@Luukyb
Created September 6, 2014 03:45
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Luukyb/1e77f80052f924a3988e to your computer and use it in GitHub Desktop.
Save Luukyb/1e77f80052f924a3988e to your computer and use it in GitHub Desktop.
Minimal Vagrantfile for Drupal. Box + IP + Memory + File Permission
# -*- 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