From bf634d33f9ef1acb2a2c1c0b4411bcfcc8f2598e Mon Sep 17 00:00:00 2001 From: Peter Deltchev Date: Mon, 25 May 2015 22:23:15 -0700 Subject: [PATCH] T125: Limited Vagrant to 1 GB RAM and fixed file downloads via nginx. --- Vagrantfile | 23 ++++++++++++----------- vagrant/config/app.php | 2 +- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 1f03c75a..45e4277d 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,14 +1,15 @@ Vagrant.configure("2") do |config| - config.vm.box = 'laravel/homestead' - config.vm.provider "virtualbox" do |v| - v.cpus = 4 - end - - config.vm.network :private_network, ip: "192.168.33.11" - config.vm.synced_folder ".", "/vagrant", type: "nfs" - - config.vm.provision "shell", path: "vagrant/install.sh" + config.vm.box = 'laravel/homestead' + config.vm.provider "virtualbox" do |v| + v.cpus = 4 + v.memory = 1024 + end - config.vm.synced_folder "../pony.fm.files", "/vagrant-files" - config.bindfs.bind_folder "/vagrant", "/vagrant" + config.vm.network :private_network, ip: "192.168.33.11" + config.vm.synced_folder ".", "/vagrant", type: "nfs" + + config.vm.provision "shell", path: "vagrant/install.sh" + + config.vm.synced_folder "../pony.fm.files", "/vagrant-files" + config.bindfs.bind_folder "/vagrant", "/vagrant" end diff --git a/vagrant/config/app.php b/vagrant/config/app.php index 81554a15..8170ee19 100644 --- a/vagrant/config/app.php +++ b/vagrant/config/app.php @@ -1,7 +1,7 @@ true, + 'sendfile' => false, 'uglify-js' => 'uglifyjs', 'uglify-css' => 'uglifycss', 'coffee' => 'coffee',