I am currently using Lando to spin up my dev environments for Bedrock/Sage project.
here is my .lando.yml file
name: example
env_file:
- .env
recipe: wordpress
proxy:
appserver_nginx: # Optional: if you exclude this, Lando will serve it as bedrock.lndo.site
- example.test
mailhog:
- mail.example.test
theme: # Optional: add this if you include the Sage specific config down below
- localhost:3000
- localhost:3001
config:
php: '8.0'
composer_version: 2-latest
via: nginx
webroot: web
database: mariadb
xdebug: true
# Add the following if you plan to use Sage as a starter theme
services:
mailhog:
type: mailhog
portforward: true
hogfrom:
- appserver_nginx
appserver_nginx:
scanner: false
theme:
type: node:16
overrides:
ports:
- 3000:3000
- 3001:3001
tooling:
yarn:
service: theme
Some references
Outdated but you should still read
Good Read
https://discourse.roots.io/t/dockerize-local-bedrock-sage-development-with-lando/14288/46