Use Laravel's Homestead as a multi-box Vagrant setup
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
scripts
sites
Homestead.yaml
Vagrantfile
license.md
readme.md

readme.md

Laravel Homestead Multibox

This is an experiment to use Laravel's Homestead into a multi-machine setup (db, app1, app2, etc). The idea is that each application will have it's own box and IP in order to simulate a real-world structure better. While this does work, I've found the performance to be very poor. If anyone has any suggestions/improvements, feel free to create a PR.

Notes

  • Removed VMWare support
  • Removed Postgresql support
  • Removed HHVM support
  • Updated the way provisioning handles mysql databases. Now it will not remove a database, just add it if it's not already there.

Install

  1. Install Vagrant and VirtualBox as outlined in the original docs here
  2. Add your sites and configuration options to the Homestead.yaml file.

Note: Make sure your db box is first and all IP addresses start from the 192.168.20.20 address.

Usage

// bring up all boxes
$ vagrant up

// or bring up single boxes
$ vagrant up db
$ vagrant up app1

Security

If you discover any security related issues, please email Chris Gmyr instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.