Skip to content

Instantly share code, notes, and snippets.

@muzfr7
Last active July 31, 2017 07:39
Show Gist options
  • Save muzfr7/a732b45c03ef6eace4450365901c6a4a to your computer and use it in GitHub Desktop.
Save muzfr7/a732b45c03ef6eace4450365901c6a4a to your computer and use it in GitHub Desktop.
Sample Homestead.yml file
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
# VM Name in Virtual Box
name: Homestead
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
# Configure as many shared folders as necessary. As files within these folders are changed,
# they will be kept in sync between your local machine and the Homestead environment.
folders:
- map: ~/Developer/Laravel/Code
to: /home/vagrant/Code
# Add as many sites to your Homestead environment as necessary.
sites:
- map: blog.app
to: /home/vagrant/Code/blog/public
- map: forum.app
to: /home/vagrant/Code/forum/public
- map: admission.app
to: /home/vagrant/Code/admission/web
type: symfony2
- map: admin-admission.app
to: /home/vagrant/Code/admin-admission/web
type: symfony2
# Homestead supports several types of sites which allow you to easily run projects that are not based on Laravel.
# For example, we may easily add a Symfony app to Homestead using the symfony2 site type,
# available site types are: laravel, symfony, symfony2, symfony4 etc.
# sites:
# - map: symfony2.app
# to: /home/vagrant/Code/Symfony/public
# type: symfony2 or symfony4 or laravel
databases:
- blog
- forum
# 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