Skip to content

Instantly share code, notes, and snippets.

@MikSDigital
Created November 25, 2016 17:37
Show Gist options
  • Save MikSDigital/097f0c036c330237dadbc4df81bc03d8 to your computer and use it in GitHub Desktop.
Save MikSDigital/097f0c036c330237dadbc4df81bc03d8 to your computer and use it in GitHub Desktop.
~/homestead/Homestead.yaml
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/projects # folder on local machine
to: /home/vagrant/projects # "root" folder to map in Homestead VM environment
sites:
- map: homestead1.app
to: /home/vagrant/projects/site1/public
- map: homestead2.app
to: /home/vagrant/projects/site2
- map: homestead3.app
to: /home/vagrant/projects
- map: am.app # map this domain name to Homestead VM !important, other domain name may not work
to: /home/vagrant/projects/laravel-am/am-core/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment