当前位置 : 主页 > 网络编程 > PHP >

laravel homestead 配置文件案例

来源:互联网 收集:自由互联 发布时间:2021-06-30
laravelhomestead 1. [代码] [PHP]代码 ---ip: "192.168.10.10"memory: 2048cpus: 1provider: virtualboxauthorize: ~/.ssh/id_rsa.pubkeys: - ~/.ssh/id_rsafolders: - map: ~/Code to: /home/vagrant/Codesites: - map: xiaodong.com to: /home/vagrant
laravel homestead 

1. [代码][PHP]代码    

---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: ~/Code
      to: /home/vagrant/Code

sites:
    - map: xiaodong.com
      to: /home/vagrant/Code/defara.com/public //目录

    - map: sheldon.com
      to: /home/vagrant/Code/xiaodong/public
databases:
    - homestead

# blackfire:
#     - id: foo
#       token: bar
#       client-id: foo
#       client-token: bar

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp
~                                                                                                                                                                   
~                             
网友评论