mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
Give vm more memory with DISCOURSE_VM_MEM env variable
This commit is contained in:
parent
c0f3c47196
commit
19a1855ea0
1 changed files with 1 additions and 1 deletions
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -17,7 +17,7 @@ Vagrant.configure("2") do |config|
|
|||
|
||||
config.vm.provider :virtualbox do |v|
|
||||
# This setting gives the VM 1024MB of MEMORIES instead of the default 384.
|
||||
v.customize ["modifyvm", :id, "--memory", 1024]
|
||||
v.customize ["modifyvm", :id, "--memory", [ENV['DISCOURSE_VM_MEM'].to_i, 1024].max]
|
||||
|
||||
# This setting makes it so that network access from inside the vagrant guest
|
||||
# is able to resolve DNS using the hosts VPN connection.
|
||||
|
|
Loading…
Reference in a new issue