Create a gist now

Instantly share code, notes, and snippets.

Sample Laravel Homestead config
---
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: homestead.app
to: /home/vagrant/Code/Laravel/public
- map: laravel52.dev
to: /home/vagrant/Code/laravel52.dev/public
- map: phpmyadmin.app
to: /home/vagrant/Code/phpmyadmin.app
- map: wordpress.dev
to: /home/vagrant/Code/wordpress.dev/public
databases:
- homestead
- laravel52
- wordpress
# blackfire:
# - id: foo
# token: bar
# client-id: foo
# client-token: bar
# ports:
# - send: 50000
# to: 5000
# - send: 7777
# to: 777
# protocol: udp
@jimfrenette
Owner
jimfrenette commented Mar 21, 2017 edited

hosts file

192.168.10.10	homestead.app
192.168.10.10	laravel52.dev
192.168.10.10	phpmyadmin.app
192.168.10.10	wordpress.dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment