Skip to content

Instantly share code, notes, and snippets.

@tormi
Last active May 4, 2020 22:43
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tormi/a8b8fc39f9481373b24dc94cb8d2ee31 to your computer and use it in GitHub Desktop.
Save tormi/a8b8fc39f9481373b24dc94cb8d2ee31 to your computer and use it in GitHub Desktop.
Gatsby with Lando
# Quickstart for Gatsby starter within Lando environment
#
# Install Lando v. >RC1.
# Place .lando.yml inside some directory and cd there.
# `git init . && git remote add origin https://github.com/gatsbyjs/gatsby-starter-default.git && git pull origin master`
# (feel free to use any starter repo URL).
# `lando start`.
# Use `lando` for commands available.
name: gatsby
proxy:
appserver:
- gatsby.lndo.site:8000
services:
appserver:
type: node:10
port: '8000'
command: gatsby develop --host 0.0.0.0
install_dependencies_as_me:
- yarn global add gatsby-cli
- yarn
tooling:
yarn:
service: appserver
gatsby:
service: appserver
node:
service: appserver
npm:
service: appserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment