mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
T125: Limited Vagrant to 1 GB RAM and fixed file downloads via nginx.
This commit is contained in:
parent
2e146df697
commit
bf634d33f9
2 changed files with 13 additions and 12 deletions
23
Vagrantfile
vendored
23
Vagrantfile
vendored
|
@ -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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
'sendfile' => true,
|
||||
'sendfile' => false,
|
||||
'uglify-js' => 'uglifyjs',
|
||||
'uglify-css' => 'uglifycss',
|
||||
'coffee' => 'coffee',
|
||||
|
|
Loading…
Reference in a new issue