T125: Limited Vagrant to 1 GB RAM and fixed file downloads via nginx.

This commit is contained in:
Peter Deltchev 2015-05-25 22:23:15 -07:00
parent 2e146df697
commit bf634d33f9
2 changed files with 13 additions and 12 deletions

23
Vagrantfile vendored
View file

@ -1,14 +1,15 @@
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.box = 'laravel/homestead' config.vm.box = 'laravel/homestead'
config.vm.provider "virtualbox" do |v| config.vm.provider "virtualbox" do |v|
v.cpus = 4 v.cpus = 4
end v.memory = 1024
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.synced_folder "../pony.fm.files", "/vagrant-files" config.vm.network :private_network, ip: "192.168.33.11"
config.bindfs.bind_folder "/vagrant", "/vagrant" 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 end

View file

@ -1,7 +1,7 @@
<?php <?php
return array( return array(
'sendfile' => true, 'sendfile' => false,
'uglify-js' => 'uglifyjs', 'uglify-js' => 'uglifyjs',
'uglify-css' => 'uglifycss', 'uglify-css' => 'uglifycss',
'coffee' => 'coffee', 'coffee' => 'coffee',