Skip to content

Instantly share code, notes, and snippets.

@franxo
Created June 9, 2023 08:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save franxo/d7ba0eb75acbb74ae6413eded114ceb8 to your computer and use it in GitHub Desktop.
Save franxo/d7ba0eb75acbb74ae6413eded114ceb8 to your computer and use it in GitHub Desktop.
Lando file for angular app + storybook
#Lando file for angular app + storybook
name: angular-app
excludes:
- ./node_modules
proxy:
front:
- angular-app.lndo.site:4200
- storybook-app.lndo.site:6006
services:
front:
type: node:16
moreHttpPorts:
- "4200"
- "6006"
overrides:
ports:
- "4200"
- "6006"
volumes:
- "./angular-app:/app"
command:
- ng serve --host 0.0.0.0 --disable-host-check
run:
- npm run docs:json && start-storybook -p 6006 --host 0.0.0.0
build:
- npm install
- npm install pm2 -g
tooling:
npm:
service: front
command: npm
node:
service: front
command: node
npx:
service: front
command: npx
ng:
service: front
command: ng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment