Customize Laravel Homestead server settings? -
is possible use laravel homestead , change of settings of server created?
for example, perhaps want different version of php,mysql or ubuntu.
i looked through homestead source couldn't see these defined.
the laravel/homestead virtual machine (hosted on vagrant cloud) built of below pre-installed:
- php 5.6
- hhvm
- nginx
- mysql
- postgres
- node (with bower, grunt, , gulp)
- redis
- memcached
- beanstalkd
- laravel envoy
- blackfire profiler
this stop need complex , lengthy provisioning process prior vm being usable.
you have few options achieve want:
(recommended option) add own bash scripts homesteads
after.sh
remove / add software required. downside script run on everyvagrant up
, need check first if package want install installed.add own provisioning homestead vagrant file. if follow route, i'd recommend fork homestead project on github , use fork changes. can in provisioner can in shell of vm. example latest version of php source , configure && make it, whilst removing old version. take in further reading below on how started vagrant if haven't already.
build own vm. homestead box isn't quite enough , need build vm customers specific environment quickly. use vagrant, chef, and/or ansible achieve although last 2 wouldn't recommend until you've built few boxes using vagrant. illuminate/homestead repository excellent starting point understanding vagrant (be prepared swift introduction ruby if have never used before).
the packages / provisioners mentioned here personal preference. there plenty of other known , feasible packages provision infrastructure
further reading
Comments
Post a Comment