mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 13:05:12 +01:00
Merge pull request #993 from foozmeat/patch-1
Use NFS for the shared folder because it dramatically decreases latency for git operations.
This commit is contained in:
commit
dea6e47de0
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -97,6 +97,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
config.hostsupdater.remove_on_suspend = false
|
config.hostsupdater.remove_on_suspend = false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ['rw', 'vers=3', 'tcp']
|
||||||
|
|
||||||
# Otherwise, you can access the site at http://localhost:3000
|
# Otherwise, you can access the site at http://localhost:3000
|
||||||
config.vm.network :forwarded_port, guest: 80, host: 3000
|
config.vm.network :forwarded_port, guest: 80, host: 3000
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user