Looking at how to configure Lando (a local dev environment built on docker) to support Laravel development.
- Copy the folder
.lando/*
into laravel project. - Copy the file
.lando.yml
into laravel project. - Check
.lando/laravel-worker.conf
to ensure proper queue is called (included script utilizes sqs). - Run
lando start
. - Done!
- cron.txt - typical cronfile for laravel.
- docker-php-entrypoint.sh - ensures cron starts.
- laravel-worker.conf - typical supervisor setup with paths/user adapted for lando.
- php.ini - Overcame the issue with memory limits from default Lando config for php.ini
- Note: If any of the support files (including lando config) is changed, rebuild with
lando rebuild -y
- Lando Laravel Supervisor
- Configure Lando for Laravel
- Configure Laravel Cron on Lando