This post will document how to get Gatsby to talk to Drupal when Drupal is running in Lando.
For whatever reason, trying to get Gatsby to access Drupal in a Lando container doesn't work. I'm not sure if it's localhost
or localhost:PORT
that Gatsby has trouble with, but we can work around that limitation by using ngrok. ngrok lets us access localhost
URLs from a public URL. I installed it on my Mac using Homebrew (cask), but you can visit the downloads page for other methods of installation. You'll also have to register on the ngrok website, but their free account will work just fine.