Skip to content

Instantly share code, notes, and snippets.

@serundeputy
Created November 28, 2018 00: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 serundeputy/2ce71fd4a1441e7fc42847455ac6320e to your computer and use it in GitHub Desktop.
Save serundeputy/2ce71fd4a1441e7fc42847455ac6320e to your computer and use it in GitHub Desktop.
A starter .lando.yml file for node apps; this one is NuxtJs.
name: myNuxtJsApp
proxy:
appserver:
- mynuxtjsapp.lndo.site
services:
appserver:
type: node:10
command: cp -n /app/.env.example /app/.env && yarn dev --hostname 0.0.0.0 --port 80
install_dependencies_as_me:
- yarn install
codeception:
type: compose
services:
image: codeception/codeceptjs
command: /codecept/docker/entrypoint
tooling:
yarn:
service: appserver
npm:
service: appserver
node:
service: appserver
nuxt:
cmd: /app/node_modules/.bin/nuxt
service: appserver
test:
cmd: yarn test
service: codeception
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment