Skip to content

Instantly share code, notes, and snippets.

@killua99
Created December 6, 2019 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save killua99/4d2e7a9ed37b0bc5903e425028967536 to your computer and use it in GitHub Desktop.
Save killua99/4d2e7a9ed37b0bc5903e425028967536 to your computer and use it in GitHub Desktop.
lando php lemp
name: ex-backend
recipe: lemp
config:
webroot: public
php: 7.3
database: postgres:11
xdebug: true
config:
php: config/lando/xdebug.ini
vhosts: config/lando/default.conf.tpl
events:
post-start:
- composer install
- php artisan migrate
services:
mailhog:
type: mailhog
portforward: false
hogfrom:
- appserver
appserver:
type: php
node:
type: node
port: 3000
build:
- npm install
- npm run prod
tooling:
tests:
description: Run tests
cmd:
- appserver: composer run test
npm:
service: node
yarn:
service: node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment