Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lando configuration for custom service with nodejs building for gatby fails #19

Open
AbhayPai opened this issue Nov 3, 2022 · 0 comments

Comments

@AbhayPai
Copy link

AbhayPai commented Nov 3, 2022

Following is my configuration file for setting up gatsby project. While starting the project it gives me red color urls for proxy host. Not sure what is wrong with this setup, since development script for gatsby works just fine once it run and browser renders the url as well with the page.

Below is the screenshot while running lando gatsby:develop command
Screen Shot 2022-11-03 at 1 01 23 PM

Below is the screenshot while running lando gatsby build command
Screen Shot 2022-11-03 at 1 02 26 PM

Screen Shot 2022-11-03 at 1 02 41 PM

name: gatsby-starter

config:
  webroot: public

proxy:
  custom-gatsby:
    - gatsby-starter.lndo.site

services:
  custom-gatsby:
    ssl: true
    type: node:14
    globals:
      gatsby-cli: latest
      yarn: latest

events:
  post-start:
    - custom-gatsby: "cd /app && yarn install && gatsby build"

tooling:
  yarn:
    service: custom-gatsby
  gatsby:
    service: custom-gatsby
  gatsby:develop:
    cmd: gatsby develop --host 0.0.0.0 --port 80
    service: custom-gatsby
@AbhayPai AbhayPai added the node label Nov 3, 2022
@rtfm-47 rtfm-47 transferred this issue from lando/lando Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants