Lando is my preferred local development tool for many reasons. I’m tinkering with Gatsby, and would like to run it from within Lando, adjacent to my WordPress install. Here’s what I did to get it working.
You’ll need a node service, and you’ll have to tell gatsby to bind to allow network access, vs just local.
services: node: type: node build: - npm install globals: gatsby-cli: latest command: gatsby develop -H 0.0.0.0 -p 80 proxy: node: - gatsby.lndo.site
Bonus points, make
lando gatsby a thing that works:
tooling: node: service: node npm: service: node yarn: service: node gatsby: service: node