瀏覽代碼

Use NFS for the shared folder because it dramatically decreases latency for git operations.

master
James Moore 7 年之前
committed by GitHub
父節點
當前提交
c19e0f1212
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      Vagrantfile

+ 2
- 0
Vagrantfile 查看文件

@@ -97,6 +97,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.hostsupdater.remove_on_suspend = false
end

config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ['rw', 'vers=3', 'tcp']

# Otherwise, you can access the site at http://localhost:3000
config.vm.network :forwarded_port, guest: 80, host: 3000



Loading…
取消
儲存