Skip to content

Instantly share code, notes, and snippets.

@willchambers99
Created January 30, 2020 16:17
Show Gist options
  • Save willchambers99/44545aaaab0a0ff99fbc2a127946a05c to your computer and use it in GitHub Desktop.
Save willchambers99/44545aaaab0a0ff99fbc2a127946a05c to your computer and use it in GitHub Desktop.
Example homestead.yaml for setting up vagrant
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
ssl: true
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/code
to: /home/vagrant/code
sites:
- map: octobercms.test
to: /home/vagrant/code/october-cms
- map: laravel-six-scratch.test
to: /home/vagrant/code/laravel-six-scratch/public
databases:
- october-cms
- laravel-six-scratch
# ports:
# - send: 50000
# to: 5000
# - send: 7777
# to: 777
# protocol: udp
# blackfire:
# - id: foo
# token: bar
# client-id: foo
# client-token: bar
# zray:
# If you've already freely registered Z-Ray, you can place the token here.
# - email: [email protected]
# token: foo
# Don't forget to ensure that you have 'zray: "true"' for your site.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment