Dockerized Laravel Homestead local development environment.
- Install docker and docker-compose.
- Clone/download this repo.
- Add
homestead.test
domain to hosts file pointing to 127.0.0.1 - Clone your Laravel app into
app
directory. docker-compose up -d
docker exec homesteaddocker_php_1 composer install
(orpr composer install
when using aliases)- Open
homestead.test
in your browser.
Use source ./pr
to be able to use some aliases:
pr up
, pr stop
, pr composer
, pr artisan
, ...
- By updating
./docker-compose.yml
file. - By adding additional configurations to
./_docker/nginx/conf.d
directory.