Skip to content

Instantly share code, notes, and snippets.

@jjpeleato
Last active February 21, 2020 07:45
Show Gist options
  • Save jjpeleato/52a45d22c451f495a76ac7ed8181b9cc to your computer and use it in GitHub Desktop.
Save jjpeleato/52a45d22c451f495a76ac7ed8181b9cc to your computer and use it in GitHub Desktop.
Nginx + PHP 7.3 + Node JS + Mailhog
# See: https://lando.dev/
name: htmlboilerplate
# See: https://docs.devwithlando.io/config/proxy.html
proxy:
appserver_nginx:
- web.htmlboilerplate.lndo.site
appserver:
- php.htmlboilerplate.lndo.site
node:
- node.htmlboilerplate.lndo.site
mailhog:
- mail.htmlboilerplate.lndo.site
# See: https://docs.devwithlando.io/config/services.html
services:
appserver:
type: php:7.3
via: nginx
ssl: true
xdebug: true
webroot: public
run_as_root:
- "chown www-data: -R /app"
node:
type: node
globals:
npm: "latest"
yarn: "latest"
gulp-cli: "latest"
mailhog:
type: mailhog
hogfrom:
- appserver
portforward: 1026
# See: https://docs.devwithlando.io/config/tooling.html
tooling:
node:
service: node
npm:
service: node
gulp:
service: node
composer:
service: appserver
dep:
service: appserver
desription: run deployer commands
cmd:
- "vendor/bin/dep"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment