How to use this box with Vagrant:
Vagrant.configure("2") do |config| config.vm.box = "laravel/homestead" config.vm.box_version = "10.0.0" end
vagrant init laravel/homestead \ --box-version 10.0.0 vagrant up
This version was created 2 months ago.
Homestead starts several services by default however if your configuration overrides one of these defaults you can specify which services you would like to enable or disable during provisioning. For example if you only needed PostgreSQL 12 your
services: configuration in
Homestead.yaml might look like:
services: - enabled: - "postgresql@12-main" - disabled: - "mysql"
This configuration would ensure
postgresql@12-main service would be enabled and
mysql would be disabled from starting at boot. The specified services will also be started or stopped based on their location in
mysql8feature script removed)
Homestead configures a self-signed SSL certificate for each site defined in the
sites: section of your
Homestead.yaml file. If you would like to generate a wildcard SSL certificate for a site you may add a
wildcard option to that site's configuration. By default the site will use the wild card certificate instead of the specific domain certificate.
- map: foo.domain.test to: /home/vagrant/domain wildcard: "yes"
use_wildcard option is set to
no, the wildcard certificate will be generated but will not be used:
- map: foo.domain.test to: /home/vagrant/domain wildcard: "yes" use_wildcard: "no"