Skip to content

Instantly share code, notes, and snippets.

@jimfrenette
Created March 21, 2017 00:36
Show Gist options
  • Save jimfrenette/e29bc784fd9098c29a5ebba53a03e00b to your computer and use it in GitHub Desktop.
Save jimfrenette/e29bc784fd9098c29a5ebba53a03e00b to your computer and use it in GitHub Desktop.
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
Copy link
Author

jimfrenette commented Mar 21, 2017

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