数据库链接 192.168.10.10
用户名:homestead
密码:secret
虚拟机账户密码 vagrant vagrant
多站点homestead.yaml配置
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: E:/Code/wxdemo
to: /home/vagrant/Code/wxdemo
sites:
- map: demo.app
to: /home/vagrant/Code/wxdemo/public
databases:
- homestead
folders:
- map: E:/Code/wx
to: /home/vagrant/Code/wx
sites:
- map: wx.app
to: /home/vagrant/Code/wx/public
databases:
- homestead
folders:
- map: E:/Code/tp5
to: /home/vagrant/Code/tp5
sites:
- map: tp.app
to: /home/vagrant/Code/tp5/public
databases:
- homestead